mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-16 07:52:35 +03:00
Use p.wait() instead of p.communicate()
The latter calls the former anyway, and we don't need to fetch the output nor send any stdin.
This commit is contained in:
parent
a834ff4ab2
commit
3d923a6718
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue