diff options
author | Daniele Esposti <daniele.esposti@gmail.com> | 2016-10-06 23:54:32 +0100 |
---|---|---|
committer | Daniele Esposti <daniele.esposti@gmail.com> | 2016-10-06 23:54:32 +0100 |
commit | d437f8893f60bfdc703b0d16335f28ad2e799974 (patch) | |
tree | 4888298fa20a176a3660705916e8db7b6eefe0fc | |
parent | 26f9b9f40144b73d75e739ef5e6552007b6376f8 (diff) | |
download | gitpython-d437f8893f60bfdc703b0d16335f28ad2e799974.tar.gz |
Fixed typo after merge
-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 |