Skip to content

Commit 896830b

Browse files
guyzmoankostis
authored andcommitted
remote, #528: Fix regression shadowing exceptions
1 parent 4b84602 commit 896830b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: git/remote.py

+2
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,8 @@ def urls(self):
511511
for line in remote_details.split('\n'):
512512
if ' Push URL:' in line:
513513
yield line.split(': ')[-1]
514+
else:
515+
raise ex
514516

515517
@property
516518
def refs(self):

0 commit comments

Comments
 (0)