1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-10 14:56:14 +01:00

conf: Fix a cut&paste error in setting 'disable_hdrmd5_check' config option

This set credentials_mgr_class to 'False', which caused
TransientCredentialsManager to ask for a password even when doing ssh auth.
This commit is contained in:
Daniel Mach 2023-03-17 14:10:55 +01:00
parent 77517ce280
commit 7c826dc605

View File

@ -890,7 +890,7 @@ def get_config(override_conffile=None,
api_host_options[apiurl]["disable_hdrmd5_check"] = config["disable_hdrmd5_check"]
if cp.has_option(url, "disable_hdrmd5_check"):
api_host_options[apiurl][key] = cp.getboolean(url, "disable_hdrmd5_check")
api_host_options[apiurl]["disable_hdrmd5_check"] = cp.getboolean(url, "disable_hdrmd5_check")
# add the auth data we collected to the config dict
config['api_host_options'] = api_host_options