mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-17 04:30:30 +03:00
make read_metadata only parse files actually used by lint/rewritemeta
Now that the description formatting is removed, there is no need to load all of the app metadata before operating on a single one. This change makes lint and rewritemeta only load the metadata for the apps it is actually operating on. Before, it would always load all metadata files. #845 closes #678
This commit is contained in:
parent
c98b15e72a
commit
129438fd30
3 changed files with 19 additions and 5 deletions
|
|
@ -61,7 +61,7 @@ def main():
|
|||
config = common.read_config(options)
|
||||
|
||||
# Get all apps...
|
||||
allapps = metadata.read_metadata()
|
||||
allapps = metadata.read_metadata(options.appid)
|
||||
apps = common.read_app_args(options.appid, allapps, False)
|
||||
|
||||
for appid, app in apps.items():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue