mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-16 16:02:33 +03:00
Don't split stdout/stderr
For the most part, doing this just makes build output incomprehensible, with errors appearing out of context.
This commit is contained in:
parent
450685fe2f
commit
874565fb73
4 changed files with 31 additions and 58 deletions
|
@ -32,7 +32,7 @@ config = None
|
|||
def devices():
|
||||
p = FDroidPopen(["adb", "devices"])
|
||||
if p.returncode != 0:
|
||||
raise Exception("An error occured when finding devices: %s" % p.stderr)
|
||||
raise Exception("An error occured when finding devices: %s" % p.stdout)
|
||||
lines = p.stdout.splitlines()
|
||||
if lines[0].startswith('* daemon not running'):
|
||||
lines = lines[2:]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue