From 697702e72c4b148e987b873e6094da081beeb7cf Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Tue, 15 Dec 2009 23:07:17 +0100 Subject: index: improved the way stdout is handled as the previous handling rarely caused lockups while waiting for stdout NOTE: This does not have the desired effect, the issue appears to be somewhere within git, possibly, as git simply does not terminate waiting for something, even if stdout is closed. --- lib/git/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/git/utils.py') diff --git a/lib/git/utils.py b/lib/git/utils.py index b5364c4c..5b061631 100644 --- a/lib/git/utils.py +++ b/lib/git/utils.py @@ -139,7 +139,7 @@ class LockFile(object): raise AssertionError("The lock file at %s could not be read" % lock_file) if pid != os.getpid(): - raise AssertionError("We claim to own the lock at %s, but it was not owned by our process: %i" % (lock_file, os.getpid())) + raise AssertionError("We claim to own the lock at %s, but it was not owned by our process %i, but by %i" % (lock_file, os.getpid(), pid)) return True -- cgit v1.2.1