1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-06-05 15:10:17 +02:00

Drop duplicated code (already done in get_metadata_files)

This commit is contained in:
Jochen Sprickerhof 2022-07-19 13:29:28 +02:00
parent e1c5170216
commit 15866da9b6
No known key found for this signature in database
GPG Key ID: 5BFFDCC258E69433

View File

@ -953,11 +953,6 @@ def read_app_args(appid_versionCode_pairs, allow_vercodes=False, sort_by_time=Fa
if appid in vercodes:
apps[appid] = app
if len(apps) != len(vercodes):
for p in vercodes:
if p not in allapps:
logging.critical(_("No such package: %s") % p)
raise FDroidException(_("Found invalid appids in arguments"))
if not apps:
raise FDroidException(_("No packages specified"))