mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-27 07:06:13 +01:00
fix keyring usage for an additional OBS instance
This commit is contained in:
parent
fec7d58df2
commit
5f35c67b63
@ -391,7 +391,7 @@ def add_section(filename, url, user, passwd):
|
||||
if config['use_keyring'] and GENERIC_KEYRING:
|
||||
protocol, host = \
|
||||
parse_apisrv_url(None, url)
|
||||
keyring.set_password(host, username, password)
|
||||
keyring.set_password(host, user, passwd)
|
||||
cp.set(url, 'keyring', '1')
|
||||
cp.set(url, 'user', user)
|
||||
cp.remove_option(url, 'pass')
|
||||
|
Loading…
Reference in New Issue
Block a user