From 15d3a3612d238e991732ae1449d5e813c406e607 Mon Sep 17 00:00:00 2001 From: Jochen Sprickerhof Date: Tue, 19 Jul 2022 13:29:28 +0200 Subject: [PATCH] Drop duplicated code (already done in get_metadata_files) --- fdroidserver/common.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/fdroidserver/common.py b/fdroidserver/common.py index ca89dbed..6d459c7c 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -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"))