diff options
Diffstat (limited to 'git/refs')
-rw-r--r-- | git/refs/symbolic.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/refs/symbolic.py b/git/refs/symbolic.py index f3799ed4..ae67a7ee 100644 --- a/git/refs/symbolic.py +++ b/git/refs/symbolic.py @@ -108,7 +108,7 @@ class SymbolicReference(object): yield tuple(line.split(' ', 1)) # END for each line except (OSError, IOError): - raise StopIteration + return # END no packed-refs file handling # NOTE: Had try-finally block around here to close the fp, # but some python version woudn't allow yields within that. |