summaryrefslogtreecommitdiff
path: root/git/remote.py
diff options
context:
space:
mode:
Diffstat (limited to 'git/remote.py')
-rw-r--r--git/remote.py2
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):