mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-17 10:40:12 +02:00
Fix "no such package" search logic
This commit is contained in:
parent
b43f7bea1a
commit
f7f8c80018
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user