chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a834ff4
)
Use p.wait() instead of p.communicate()
author
Daniel Martí
<mvdan@mvdan.cc>
Wed, 9 Jul 2014 17:22:39 +0000
(19:22 +0200)
committer
Daniel Martí
<mvdan@mvdan.cc>
Wed, 9 Jul 2014 17:22:39 +0000
(19:22 +0200)
The latter calls the former anyway, and we don't need to fetch the output nor
send any stdin.
fdroidserver/common.py
patch
|
blob
|
history
diff --git
a/fdroidserver/common.py
b/fdroidserver/common.py
index 285ffe208a4941e88ff49b5d8c43e4b0188640b5..663af8b1485cc90412c4e0a84f29fb41e9f2d591 100644
(file)
--- a/
fdroidserver/common.py
+++ b/
fdroidserver/common.py
@@
-1681,7
+1681,7
@@
def FDroidPopen(commands, cwd=None, shell=False, output=True):
time.sleep(0.1)
- p.
communicate
()
+ p.
wait
()
result.returncode = p.returncode
return result