Prevent option override

Do not override box/suite specific configuration with global
configuration.

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
This commit is contained in:
Georg Pfuetzenreuter 2023-05-21 07:56:48 +02:00
parent 43193ad292
commit d37bd67b2e
Signed by: Georg
GPG Key ID: 1ED2F138E7E6FF57

View File

@ -77,6 +77,7 @@ def _config():
if onemulti in config.sections():
for option in config.options(onemulti):
for collection in configmap[multi]:
if not option in configmap[multi][collection]:
configmap[multi][collection][option] = config.get(onemulti, option)
if multi in ['boxes', 'suites']:
if not len(lowconf):