Use vercodes in read_metadata interface

read_metadata is only called in read_app_args with an argument. As
vercodes is already there, drop the duplicate call.
This commit is contained in:
Jochen Sprickerhof 2022-07-19 13:41:24 +02:00
parent 8ab1d53318
commit 4d0a21f336
No known key found for this signature in database
GPG key ID: 5BFFDCC258E69433
2 changed files with 5 additions and 6 deletions

View file

@ -950,7 +950,7 @@ def read_app_args(appid_versionCode_pairs, allow_version_codes=False, sort_by_ti
"""
vercodes = read_pkg_args(appid_versionCode_pairs, allow_version_codes)
allapps = fdroidserver.metadata.read_metadata(appid_versionCode_pairs, sort_by_time)
allapps = fdroidserver.metadata.read_metadata(vercodes, sort_by_time)
if not vercodes:
return allapps