scripts: Fix flatpak-bisect log

The script was using stdout=subprocess.STDOUT but the Popen
documentation does not mention this as a valid value.

An exception was being thrown when running flatpak-bisect <name> log:
OSError: [Errno 9] Bad file descriptor
tingping/wmclass
Alexandru Băluț 2017-04-26 22:09:27 +02:00 committed by Alexander Larsson
parent 363e03cb26
commit ad4aada754
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ class Bisector():
if pager:
stdout = subprocess.PIPE
else:
stdout = subprocess.STDOUT
stdout = None
p = subprocess.Popen(cmd, stdout=stdout)
if pager:
ps = subprocess.check_call((pager), stdin=p.stdout)