mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 14:56:14 +01:00
- config_set_option: set override_no_keyring and override_no_gnome_keyring to the current config defaults when calling "get_config"
This commit is contained in:
parent
5707f2c6f4
commit
f98758e902
@ -617,7 +617,9 @@ def config_set_option(section, opt, val=None, delete=False, update=True, **kwarg
|
||||
write_config(config['conffile'], cp)
|
||||
run = True
|
||||
if run and update:
|
||||
kw = {'override_conffile': config['conffile']}
|
||||
kw = {'override_conffile': config['conffile'],
|
||||
'override_no_keyring': config['use_keyring'],
|
||||
'override_no_gnome_keyring': config['gnome_keyring']}
|
||||
kw.update(kwargs)
|
||||
get_config(**kw)
|
||||
if cp.has_option(section, opt):
|
||||
|
Loading…
Reference in New Issue
Block a user