summaryrefslogtreecommitdiff
path: root/lib/git/utils.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2009-12-15 23:07:17 +0100
committerSebastian Thiel <byronimo@gmail.com>2009-12-15 23:39:42 +0100
commit697702e72c4b148e987b873e6094da081beeb7cf (patch)
tree75c7bf4703fbf46844a7e16f2ecca477253dd102 /lib/git/utils.py
parentb1a2271a03313b561f5b786757feaded3d41b23f (diff)
downloadgitpython-697702e72c4b148e987b873e6094da081beeb7cf.tar.gz
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.
Diffstat (limited to 'lib/git/utils.py')
-rw-r--r--lib/git/utils.py2
1 files changed, 1 insertions, 1 deletions
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