| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
3 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -31,5 +31,6 @@ Contributors are: | |||
| 31 | 31 | -David Host <hostdm _at_ outlook.com> | |
| 32 | 32 | -A. Jesse Jiryu Davis <jesse _at_ emptysquare.net> | |
| 33 | 33 | -Steven Whitman <ninloot _at_ gmail.com> | |
| 34 | + -Stefan Stancu <stefan.stancu _at_ gmail.com> | ||
| 34 | 35 | ||
| 35 | 36 | Portions derived from other open source works and are clearly marked. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -544,10 +544,9 @@ def urls(self): | |||
| 544 | 544 | except GitCommandError as ex: | |
| 545 | 545 | if any(msg in str(ex) for msg in ['correct access rights', 'cannot run ssh']): | |
| 546 | 546 | # If ssh is not setup to access this repository, see issue 694 | |
| 547 | - result = Git().execute( | ||
| 548 | - ['git', 'config', '--get', 'remote.%s.url' % self.name] | ||
| 549 | - ) | ||
| 550 | - yield result | ||
| 547 | + remote_details = self.repo.git.config('--get-all', 'remote.%s.url' % self.name) | ||
| 548 | + for line in remote_details.split('\n'): | ||
| 549 | + yield line | ||
| 551 | 550 | else: | |
| 552 | 551 | raise ex | |
| 553 | 552 | else: | |
| Back | FazBrowse Home | New Git URL |
0 commit comments