8000 Merge pull request #447 from Xender/patch-1 · gitpython-developers/GitPython@c5077da · GitHub
[go: up one dir, main page]

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

Appearance settings

Commit c5077da

Browse files
committed
Merge pull request #447 from Xender/patch-1
Use proper syntax for conditional expressions.
2 parents 06ea4a0 + 39164b0 commit c5077da

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-< 524C div class="diff-text-inner"> stdout=with_stdout and PIPE or open(os.devnull, 'wb'),
612+
stdout=PIPE if with_stdout else open(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)
0