mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 22:40:29 +03:00
Drop duplicated code (already done in get_metadata_files)
This commit is contained in:
parent
4d0a21f336
commit
15d3a3612d
1 changed files with 0 additions and 5 deletions
|
|
@ -960,11 +960,6 @@ def read_app_args(appid_versionCode_pairs, allow_version_codes=False, sort_by_ti
|
||||||
if appid in vercodes:
|
if appid in vercodes:
|
||||||
apps[appid] = app
|
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:
|
if not apps:
|
||||||
raise FDroidException(_("No packages specified"))
|
raise FDroidException(_("No packages specified"))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue