From d437f8893f60bfdc703b0d16335f28ad2e799974 Mon Sep 17 00:00:00 2001 From: Daniele Esposti Date: Thu, 6 Oct 2016 23:54:32 +0100 Subject: Fixed typo after merge --- git/util.py | 3 +-- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.1