1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-15 03:20:10 +01: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 4d0a21f336
commit 15d3a3612d
No known key found for this signature in database
GPG Key ID: 5BFFDCC258E69433

View File

@ -960,11 +960,6 @@ def read_app_args(appid_versionCode_pairs, allow_version_codes=False, sort_by_ti
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"))