All logging goes to stderr, FDroidPopen should too

This commit is contained in:
Daniel Martí 2014-07-05 14:10:26 +02:00
parent 9d96ad3478
commit 17dc21b69b

View file

@ -1668,8 +1668,8 @@ def FDroidPopen(commands, cwd=None, shell=False, output=True):
line = stdout_queue.get()
if output and options.verbose:
# Output directly to console
sys.stdout.write(line)
sys.stdout.flush()
sys.stderr.write(line)
sys.stderr.flush()
result.output += line
time.sleep(0.1)