1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-07 07:50:11 +01:00

Small fixes to install.py

This commit is contained in:
Daniel Martí 2013-12-19 22:28:23 +01:00
parent 5ac855af69
commit d857e43d86

View File

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