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:
af7178f
)
install: filter out log messages better
author
Daniel Martí
<mvdan@mvdan.cc>
Wed, 11 Nov 2015 12:09:29 +0000
(13:09 +0100)
committer
Daniel Martí
<mvdan@mvdan.cc>
Wed, 11 Nov 2015 12:09:29 +0000
(13:09 +0100)
fdroidserver/install.py
patch
|
blob
|
history
diff --git
a/fdroidserver/install.py
b/fdroidserver/install.py
index 766cd6a0e586664e6516454be7ca7aadaa5424bc..af4a71bee4ef279cf9722c2385cee5e48f7c5634 100644
(file)
--- a/
fdroidserver/install.py
+++ b/
fdroidserver/install.py
@@
-35,9
+35,7
@@
def devices():
p = SdkToolsPopen(['adb', "devices"])
if p.returncode != 0:
raise FDroidException("An error occured when finding devices: %s" % p.output)
- lines = p.output.splitlines()
- if lines[0].startswith('* daemon not running'):
- lines = lines[2:]
+ lines = [l for l in p.output.splitlines() if not l.startswith('* ')]
if len(lines) < 3:
return []
lines = lines[1:-1]