mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
Small fixes to install.py
This commit is contained in:
parent
5ac855af69
commit
d857e43d86
1 changed files with 1 additions and 3 deletions
|
|
@ -25,7 +25,6 @@ from optparse import OptionParser
|
|||
|
||||
import common
|
||||
from common import FDroidPopen
|
||||
import metadata
|
||||
|
||||
options = None
|
||||
config = None
|
||||
|
|
@ -34,7 +33,6 @@ def devices():
|
|||
p = FDroidPopen(["adb", "devices"])
|
||||
if p.returncode != 0:
|
||||
raise Exception("An error occured when finding devices: %s" % p.stderr)
|
||||
devs = []
|
||||
return [l.split()[0] for l in p.stdout.splitlines()[1:-1]]
|
||||
|
||||
|
||||
|
|
@ -68,7 +66,7 @@ def main():
|
|||
appid, vercode = common.apknameinfo(apkfile)
|
||||
if appid not in apks:
|
||||
continue
|
||||
if vercodes[appid] and vc not in vercodes[appid]:
|
||||
if vercodes[appid] and vercode not in vercodes[appid]:
|
||||
continue
|
||||
apks[appid] = apkfile
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue