repos: Don't fail if addons are not preset in config
This commit is contained in:
parent
8388c0627b
commit
51aa8967d0
@ -821,7 +821,7 @@ def load_repos(config):
|
||||
LOG.info('Loading %s', name)
|
||||
repos[name] = Repository.load_from_config(name, cfg)
|
||||
|
||||
for name, cfg in config['addons'].items():
|
||||
for name, cfg in config.get('addons', {}).items():
|
||||
LOG.info('Loading %s', name)
|
||||
base = repos[cfg['base']]
|
||||
addon = Repository.load_from_config(name, cfg)
|
||||
|
Loading…
Reference in New Issue
Block a user