chiark / gitweb /
install: don't error if there are bin apks in repo/
authorDaniel Martí <mvdan@mvdan.cc>
Sat, 9 Aug 2014 23:09:44 +0000 (01:09 +0200)
committerDaniel Martí <mvdan@mvdan.cc>
Sat, 9 Aug 2014 23:09:44 +0000 (01:09 +0200)
fdroidserver/install.py

index 338ddf9647226a0a5a200b201ccf5f2abf2a3bc2..f6862e5a17703d83e14bc67f01244244722d9bef 100644 (file)
@@ -76,7 +76,10 @@ def main():
         # Get the signed apk with the highest vercode
         for apkfile in sorted(glob.glob(os.path.join(output_dir, '*.apk'))):
 
-            appid, vercode = common.apknameinfo(apkfile)
+            try:
+                appid, vercode = common.apknameinfo(apkfile)
+            except FDroidException:
+                continue
             if appid not in apks:
                 continue
             if vercodes[appid] and vercode not in vercodes[appid]: