Fix base config should override packages config (#1209)

This commit is contained in:
Otto Winter 2020-07-27 18:23:00 +02:00 committed by GitHub
parent d26c43103d
commit 7d2fcf59fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,7 +38,7 @@ def do_packages_pass(config: dict):
recursive_package = package_config recursive_package = package_config
if isinstance(package_config, dict): if isinstance(package_config, dict):
recursive_package = do_packages_pass(package_config) recursive_package = do_packages_pass(package_config)
config = _merge_package(config, recursive_package) config = _merge_package(recursive_package, config)
del config[CONF_PACKAGES] del config[CONF_PACKAGES]
return config return config