| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -216,7 +216,6 @@ def entry_at(cls, filepath, index): | |||
| 216 | 216 | all other lines. Nonetheless, the whole file has to be read if | |
| 217 | 217 | the index is negative | |
| 218 | 218 | """ | |
| 219 | - fp = open(filepath, 'rb') | ||
| 220 | 219 | with open(filepath, 'rb') as fp: | |
| 221 | 220 | if index < 0: | |
| 222 | 221 | return RefLogEntry.from_line(fp.readlines()[index].strip()) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments