mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-06 07:20:29 +03:00
Make use of Popen.wait() return value
This commit is contained in:
parent
2116dee6d2
commit
bf227948a9
1 changed files with 1 additions and 2 deletions
|
|
@ -1670,8 +1670,7 @@ def FDroidPopen(commands, cwd=None, shell=False, output=True):
|
||||||
|
|
||||||
time.sleep(0.1)
|
time.sleep(0.1)
|
||||||
|
|
||||||
p.wait()
|
result.returncode = p.wait()
|
||||||
result.returncode = p.returncode
|
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue