| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 7a8f96c commit 7228ca9
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -7,6 +7,8 @@ Changelog | |||
| 7 | 7 | ||
| 8 | 8 | * Fix: progress handler exceptions are not caught anymore, which would usually just hide bugs | |
| 9 | 9 | previously. | |
| 10 | + * Fix: The `Git.execute` method will now redirect `stdout` to `devnull` if `with_stdout` is false, | ||
| 11 | + which is the intended behaviour based on the parameter's documentation. | ||
| 10 | 12 | ||
| 11 | 13 | 2.0.2 - Fixes | |
| 12 | 14 | ============= | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -605,7 +605,7 @@ def execute(self, command, | |||
| 605 | 605 | bufsize=-1, | |
| 606 | 606 | stdin=istream, | |
| 607 | 607 | stderr=PIPE, | |
| 608 | - stdout=with_stdout and PIPE or None, | ||
| 608 | + stdout=with_stdout and PIPE or open(os.devnull, 'wb'), | ||
| 609 | 609 | shell=self.USE_SHELL, | |
| 610 | 610 | close_fds=(os.name == 'posix'), # unsupported on windows | |
| 611 | 611 | **subprocess_kwargs | |
| Back | FazBrowse Home | New Git URL |
0 commit comments