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:
parent
e1c5170216
commit
15866da9b6
|
@ -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"))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user