diff options
author | Florian Bruhin <git@the-compiler.org> | 2016-01-05 19:17:56 +0100 |
---|---|---|
committer | Florian Bruhin <git@the-compiler.org> | 2016-01-05 19:17:56 +0100 |
commit | 8acbdda00e42b1783262d9c0912411f9f7af792e (patch) | |
tree | 707d59b0e191baea81eef89b910ef7783e5bb6c4 /scripts/link_pyqt.py | |
parent | 2ccb4342a4d0fb471629c4630ccdaf3b6d77af93 (diff) | |
download | qutebrowser-8acbdda00e42b1783262d9c0912411f9f7af792e.tar.gz qutebrowser-8acbdda00e42b1783262d9c0912411f9f7af792e.zip |
Don't hide stderr in link_pyqt.py.
We're just hiding useful debug information this way.
Diffstat (limited to 'scripts/link_pyqt.py')
-rw-r--r-- | scripts/link_pyqt.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/scripts/link_pyqt.py b/scripts/link_pyqt.py index bcfd64a54..5e7a8c797 100644 --- a/scripts/link_pyqt.py +++ b/scripts/link_pyqt.py @@ -46,15 +46,13 @@ def run_py(executable, *code): f.write('\n'.join(code)) cmd = [executable, filename] try: - ret = subprocess.check_output(cmd, universal_newlines=True, - stderr=subprocess.DEVNULL).rstrip() + ret = subprocess.check_output(cmd, universal_newlines=True) finally: os.remove(filename) else: cmd = [executable, '-c', '\n'.join(code)] - ret = subprocess.check_output(cmd, universal_newlines=True, - stderr=subprocess.DEVNULL).rstrip() - return ret + ret = subprocess.check_output(cmd, universal_newlines=True) + return ret.rstrip() def verbose_copy(src, dst, *, follow_symlinks=True): |