diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2016-05-27 09:13:05 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2016-05-27 09:13:05 +0200 |
commit | c5077dac4c7680c925f4c5e792eeb3c296a3b4c4 (patch) | |
tree | 3594143a9d19e139b10574c31f3d57797ade579d | |
parent | 06ea4a0b0d6fcb20a106f9367f446b13df934533 (diff) | |
parent | 39164b038409cb66960524e19f60e83d68790325 (diff) | |
download | gitpython-c5077dac4c7680c925f4c5e792eeb3c296a3b4c4.tar.gz |
Merge pull request #447 from Xender/patch-1
Use proper syntax for conditional expressions.
-rw-r--r-- | git/cmd.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -609,7 +609,7 @@ class Git(LazyMixin): bufsize=-1, stdin=istream, stderr=PIPE, - stdout=with_stdout and PIPE or open(os.devnull, 'wb'), + stdout=PIPE if with_stdout else open(os.devnull, 'wb'), shell=self.USE_SHELL, close_fds=(os.name == 'posix'), # unsupported on windows universal_newlines=universal_newlines, |