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:
Ciaran Gultnieks 2014-01-16 10:17:22 +00:00
parent 450685fe2f
commit 874565fb73
4 changed files with 31 additions and 58 deletions

View file

@ -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:]