From f7f8c800181a8d237bfdc061c4ab651ef3306366 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Mart=C3=AD?= Date: Mon, 25 Aug 2014 00:27:46 +0200 Subject: [PATCH] Fix "no such package" search logic --- fdroidserver/common.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fdroidserver/common.py b/fdroidserver/common.py index aeb4e6da..e5a18fc5 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -273,9 +273,8 @@ def read_app_args(args, allapps, allow_vercodes=False): apps[appid] = app if len(apps) != len(vercodes): - allids = [app["id"] for app in allapps] for p in vercodes: - if p not in allids: + if p not in allapps: logging.critical("No such package: %s" % p) raise FDroidException("Found invalid app ids in arguments") if not apps: -- 2.30.2