1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-09-20 17:26:15 +02:00

Fix reading configuration from ENV

This commit is contained in:
Daniel Mach 2023-09-29 09:54:50 +02:00
parent a33d4c2d41
commit a6946587e1

View File

@ -1869,7 +1869,7 @@ def get_config(override_conffile=None,
# priority: env, overrides, config
if env_key in os.environ:
value = os.environ["env_key"]
value = os.environ[env_key]
elif name in overrides:
value = overrides.pop(name)
elif ini_key in overrides: