| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -581,7 +581,7 @@ def execute(self, command, | |||
| 581 | 581 | ||
| 582 | 582 | stdout_sink = (PIPE | |
| 583 | 583 | if with_stdout | |
| 584 | - else getattr(subprocess, 'DEVNULL', open(os.devnull, 'wb'))) | ||
| 584 | + else getattr(subprocess, 'DEVNULL', None) or open(os.devnull, 'wb')) | ||
| 585 | 585 | log.debug("Popen(%s, cwd=%s, universal_newlines=%s, shell=%s)", | |
| 586 | 586 | command, cwd, universal_newlines, shell) | |
| 587 | 587 | try: | |
| Back | FazBrowse Home | New Git URL |
0 commit comments