mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-26 06:46:13 +01:00
if configuration is overridden by envvars, print out a statement about it
This commit is contained in:
parent
b61c4aec0f
commit
e6fedfcf8a
@ -236,6 +236,8 @@ pass: %s
|
||||
if val:
|
||||
if var.startswith('OSC_'): var = var[4:]
|
||||
var = var.lower().replace('_', '-')
|
||||
if config.has_key(var):
|
||||
print 'Overriding config value for %s=\'%s\' with \'%s\'' % (var, config[var], val)
|
||||
config[var] = val
|
||||
|
||||
return config, auth_dict
|
||||
|
Loading…
Reference in New Issue
Block a user