diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2009-12-04 14:20:41 +0100 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2009-12-07 10:08:34 +0100 |
commit | f6102b349cbef03667d5715fcfae3161701a472d (patch) | |
tree | e5aecf8797a9c7895c5b2809a6bbf5ee7fb2591a /lib/git/utils.py | |
parent | ac4133f51817145e99b896c7063584d4dd18ad59 (diff) | |
download | gitpython-f6102b349cbef03667d5715fcfae3161701a472d.tar.gz |
Reference: reading of commit data is now safer and handles non-existing paths - previously it would run into a code-branch I forgot
Diffstat (limited to 'lib/git/utils.py')
-rw-r--r-- | lib/git/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
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())) |