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