Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 9932e64

Browse files
committed
removed extra line as per code review
1 parent 225529c commit 9932e64

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

‎git/refs/log.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,6 @@ def entry_at(cls, filepath, index):
216216
all other lines. Nonetheless, the whole file has to be read if
217217
the index is negative
218218
"""
219-
fp = open(filepath, 'rb')
220219
with open(filepath, 'rb') as fp:
221220
if index < 0:
222221
return RefLogEntry.from_line(fp.readlines()[index].strip())

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /