| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,7 @@ | |||
| 1 | 1 | *.py[co] | |
| 2 | 2 | *.swp | |
| 3 | 3 | *~ | |
| 4 | + .venv/ | ||
| 4 | 5 | /*.egg-info | |
| 5 | 6 | /lib/GitPython.egg-info | |
| 6 | 7 | cover/ | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -108,7 +108,7 @@ def _iter_packed_refs(cls, repo): | |||
| 108 | 108 | yield tuple(line.split(' ', 1)) | |
| 109 | 109 | # END for each line | |
| 110 | 110 | except (OSError, IOError): | |
| 111 | - raise StopIteration | ||
| 111 | + return | ||
| 112 | 112 | # END no packed-refs file handling | |
| 113 | 113 | # NOTE: Had try-finally block around here to close the fp, | |
| 114 | 114 | # but some python version woudn't allow yields within that. | |
| Back | FazBrowse Home | New Git URL |
0 commit comments