chiark / gitweb /
Remove stdin from FDroidPopen
authorDaniel Martí <mvdan@mvdan.cc>
Mon, 17 Feb 2014 10:23:53 +0000 (11:23 +0100)
committerDaniel Martí <mvdan@mvdan.cc>
Mon, 17 Feb 2014 10:23:53 +0000 (11:23 +0100)
fdroidserver/common.py

index e8a2b717c560c25b88e32e123894cf14cc30dc22..6e2c1b1fde4566b68505d8b1620cbad9da6f6615 100644 (file)
@@ -1347,8 +1347,7 @@ def FDroidPopen(commands, cwd=None, output=True):
 
     result = PopenResult()
     p = subprocess.Popen(commands, cwd=cwd,
-            stdout=subprocess.PIPE, stderr=subprocess.STDOUT,
-            stdin=subprocess.PIPE)
+            stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
 
     stdout_queue = Queue.Queue()
     stdout_reader = AsynchronousFileReader(p.stdout, stdout_queue)