From f6102b349cbef03667d5715fcfae3161701a472d Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Fri, 4 Dec 2009 14:20:41 +0100 Subject: Reference: reading of commit data is now safer and handles non-existing paths - previously it would run into a code-branch I forgot --- 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 477f734e..1a624ca2 100644 --- a/lib/git/utils.py +++ b/lib/git/utils.py @@ -135,7 +135,7 @@ class LockFile(object): pid = int(fp.read()) fp.close() except IOError: - raise AssertionError("GitConfigParser has a lock but the lock file at %s could not be read" % lock_file) + 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())) -- cgit v1.2.1