Re-use config and options from common module in index

This commit is contained in:
Torsten Grote 2017-03-31 10:50:15 -03:00
parent f9321f6032
commit 389fd7e6c9
No known key found for this signature in database
GPG key ID: 3E5F77D92CF891FF
2 changed files with 47 additions and 54 deletions

View file

@ -1481,10 +1481,6 @@ def main():
# name comes from there!)
sortedids = sorted(apps.keys(), key=lambda appid: apps[appid].Name.upper())
# pass options and config for repo index handling
index.options = options
index.config = config
# APKs are placed into multiple repos based on the app package, providing
# per-app subscription feeds for nightly builds and things like it
if config['per_app_repos']: