From d857e43d86ae06ef16a8b199d6bdb6c8c3265841 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Thu, 19 Dec 2013 22:28:23 +0100 Subject: [PATCH] Small fixes to install.py --- fdroidserver/install.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/fdroidserver/install.py b/fdroidserver/install.py index 9a4cd3b7..918e95d4 100644 --- a/fdroidserver/install.py +++ b/fdroidserver/install.py @@ -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