From: Daniel Martí Date: Sat, 9 Aug 2014 23:09:44 +0000 (+0200) Subject: install: don't error if there are bin apks in repo/ X-Git-Tag: 0.3.0~97 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=2116dee6d29b4da20d45c6ad3dfb774a7588d556;p=fdroidserver.git install: don't error if there are bin apks in repo/ --- diff --git a/fdroidserver/install.py b/fdroidserver/install.py index 338ddf96..f6862e5a 100644 --- a/fdroidserver/install.py +++ b/fdroidserver/install.py @@ -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]: