diff options
Diffstat (limited to 'git/util.py')
-rw-r--r-- | git/util.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/git/util.py b/git/util.py index 9f8ccea5..fabfffb8 100644 --- a/git/util.py +++ b/git/util.py @@ -616,9 +616,8 @@ class LockFile(object): # if someone removed our file beforhand, lets just flag this issue # instead of failing, to make it more usable. - lfp = self._lock_file_path() try: - rmfile(lfp) + rmfile(lock_file) except OSError: pass self._owns_lock = False |