mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-24 05:46:13 +01:00
Fix reading configuration from ENV
This commit is contained in:
parent
a33d4c2d41
commit
a6946587e1
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user