chiark / gitweb /
All logging goes to stderr, FDroidPopen should too
authorDaniel Martí <mvdan@mvdan.cc>
Sat, 5 Jul 2014 12:10:26 +0000 (14:10 +0200)
committerDaniel Martí <mvdan@mvdan.cc>
Sat, 5 Jul 2014 12:10:26 +0000 (14:10 +0200)
fdroidserver/common.py

index f3806cf2df52c30a80c36b19f47cbc5d05452906..c568a908e2337098790c912a089db733d6454e26 100644 (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)