Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac4f7d3 commit 34cce40Copy full SHA for 34cce40
git/remote.py
@@ -542,7 +542,7 @@ def urls(self):
542
if ' Push URL:' in line:
543
yield line.split(': ')[-1]
544
except GitCommandError as ex:
545
- if any([msg in str(ex) for msg in ['correct access rights', 'cannot run ssh']]):
+ if any(msg in str(ex) for msg in ['correct access rights', 'cannot run ssh']):
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]
0 commit comments