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

Commit39164b0

Browse files
committed
Use proper syntax for conditional expression
(instead of abusing the "short-circuit" property of logical operations)
1 parent902679c commit39164b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎git/cmd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ def execute(self, command,
609609
bufsize=-1,
610610
stdin=istream,
611611
stderr=PIPE,
612-
stdout=with_stdoutandPIPEoropen(os.devnull,'wb'),
612+
stdout=PIPEifwith_stdoutelseopen(os.devnull,'wb'),
613613
shell=self.USE_SHELL,
614614
close_fds=(os.name=='posix'),# unsupported on windows
615615
universal_newlines=universal_newlines,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp