From b4b50e7348815402634b6b559b48191dba00a751 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Wed, 12 Jan 2011 17:30:11 +0100 Subject: 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. --- git/cmd.py | 1 - 1 file changed, 1 deletion(-) (limited to 'git/cmd.py') diff --git a/git/cmd.py b/git/cmd.py index af8417b7..60887f5d 100644 --- a/git/cmd.py +++ b/git/cmd.py @@ -87,7 +87,6 @@ class Git(object): """Wait for the process and return its status code. :raise GitCommandError: if the return status is not 0""" - sleep_on_gui_present_osx_crashfix() status = self.proc.wait() if status != 0: raise GitCommandError(self.args, status, self.proc.stderr.read()) -- cgit v1.2.1