diff options
author | Anil Khatri <anil.soccer.khatri@gmail.com> | 2019-10-28 15:34:09 +0530 |
---|---|---|
committer | Anil Khatri <anil.soccer.khatri@gmail.com> | 2019-10-28 15:34:09 +0530 |
commit | 9932e647aaaaf6edd3a407b75edd08a96132ef5c (patch) | |
tree | 2c4c13ec38c04d95d5c855d2732b5474e31db381 /git | |
parent | 225529c8baaa6ee65b1b23fc1d79b99bf49ebfb1 (diff) | |
download | gitpython-9932e647aaaaf6edd3a407b75edd08a96132ef5c.tar.gz |
removed extra line as per code review
Diffstat (limited to 'git')
-rw-r--r-- | git/refs/log.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/git/refs/log.py b/git/refs/log.py index ab5d75a3..432232ac 100644 --- a/git/refs/log.py +++ b/git/refs/log.py @@ -216,7 +216,6 @@ class RefLog(list, Serializable): all other lines. Nonetheless, the whole file has to be read if the index is negative """ - fp = open(filepath, 'rb') with open(filepath, 'rb') as fp: if index < 0: return RefLogEntry.from_line(fp.readlines()[index].strip()) |