1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-11 15:13:27 +02:00

Don't output everything when using --verbose

This is especially painful when using stuff like aapt to obtain data
This commit is contained in:
Daniel Martí 2014-06-21 23:03:36 +02:00
parent 5500787935
commit 25268a728d

View File

@ -1597,7 +1597,7 @@ def FDroidPopen(commands, cwd=None, shell=False, output=False):
while not stdout_reader.eof():
while not stdout_queue.empty():
line = stdout_queue.get()
if output or options.verbose:
if output:
# Output directly to console
sys.stdout.write(line)
sys.stdout.flush()