chiark / gitweb /
Quick hack to fix FDroidPOpen
authorCiaran Gultnieks <ciaran@ciarang.com>
Thu, 24 Oct 2013 10:12:15 +0000 (11:12 +0100)
committerCiaran Gultnieks <ciaran@ciarang.com>
Thu, 24 Oct 2013 10:12:15 +0000 (11:12 +0100)
That loop is using more CPU that the actual building of the app.

fdroidserver/common.py

index 88f4ec26a69d593d92eb5ad57a3932c9cf7700a1..db2904f426929a54d38f9383257de55eee9b6c9c 100644 (file)
@@ -1814,6 +1814,7 @@ def FDroidPopen(commands, cwd,
                 sys.stderr.write(line)
                 sys.stderr.flush()
             result.stderr += line
+        time.sleep(0.5)
 
     if verbose:
         print "Directory: %s" % cwd