diff options
author | Guyzmo <guyzmo+github@m0g.net> | 2016-10-12 07:13:05 +0200 |
---|---|---|
committer | Kostis Anagnostopoulos <ankostis@gmail.com> | 2016-10-12 09:20:01 +0200 |
commit | 896830bda41ffc5998e61bedbb187addaf98e825 (patch) | |
tree | 5ae9e70b116d32396539040e46f97119cc00d1f9 | |
parent | 4b84602026c1cc7b9d83ab618efb6b48503e97af (diff) | |
download | gitpython-896830bda41ffc5998e61bedbb187addaf98e825.tar.gz |
remote, #528: Fix regression shadowing exceptions
-rw-r--r-- | git/remote.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/git/remote.py b/git/remote.py index 663e29b1..a7d3fe7e 100644 --- a/git/remote.py +++ b/git/remote.py @@ -511,6 +511,8 @@ class Remote(LazyMixin, Iterable): for line in remote_details.split('\n'): if ' Push URL:' in line: yield line.split(': ')[-1] + else: + raise ex @property def refs(self): |