From 896830bda41ffc5998e61bedbb187addaf98e825 Mon Sep 17 00:00:00 2001 From: Guyzmo Date: Wed, 12 Oct 2016 07:13:05 +0200 Subject: remote, #528: Fix regression shadowing exceptions --- git/remote.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'git/remote.py') 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): -- cgit v1.2.3