summaryrefslogtreecommitdiff
path: root/git/diff.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2011-01-12 17:30:11 +0100
committerSebastian Thiel <byronimo@gmail.com>2011-01-12 17:45:33 +0100
commitb4b50e7348815402634b6b559b48191dba00a751 (patch)
tree4b786e80409d08c26c98289dc1de20b6b3136d55 /git/diff.py
parent460cafb81f86361536077b3b6432237c6ae3d698 (diff)
downloadgitpython-b4b50e7348815402634b6b559b48191dba00a751.tar.gz
OSX Signal handling: removed previous hack to fix it somehow using sleep - the error was caused by PySide which, when instantiating a QApplication, changed the signal handlers to interrupt, instead of retry operating system calls, which caused git-python to fail subsequently. signal.siginterrupt can be used to fix this behaviour after an QApplication was instatiated.
Diffstat (limited to 'git/diff.py')
-rw-r--r--git/diff.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/git/diff.py b/git/diff.py
index c2597bd9..7b3bf6b5 100644
--- a/git/diff.py
+++ b/git/diff.py
@@ -11,7 +11,6 @@ from exc import GitCommandError
from gitdb.util import hex_to_bin
-from util import sleep_on_gui_present_osx_crashfix
__all__ = ('Diffable', 'DiffIndex', 'Diff')
@@ -101,7 +100,6 @@ class Diffable(object):
diff_method = Diff._index_from_patch_format
index = diff_method(self.repo, proc.stdout)
- sleep_on_gui_present_osx_crashfix()
status = proc.wait()
return index