Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit34cce40

Browse files
committed
Remove unnecessary list comprehension - 'any' can take a generator
1 parentac4f7d3 commit34cce40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎git/remote.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ def urls(self):
542542
if' Push URL:'inline:
543543
yieldline.split(': ')[-1]
544544
exceptGitCommandErrorasex:
545-
ifany([msginstr(ex)formsgin ['correct access rights','cannot run ssh']]):
545+
ifany(msginstr(ex)formsgin ['correct access rights','cannot run ssh']):
546546
# If ssh is not setup to access this repository, see issue 694
547547
result=Git().execute(
548548
['git','config','--get','remote.%s.url'%self.name]

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp