From b4a60249f5c26da1d5d837de9122d7d87948507b Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Wed, 1 Jul 2020 12:46:06 -0500 Subject: config: T2667: adapt for refinements to get_config_dict --- src/conf_mode/ssh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/conf_mode/ssh.py') diff --git a/src/conf_mode/ssh.py b/src/conf_mode/ssh.py index 1ca2c8b4c..ffb0b700d 100755 --- a/src/conf_mode/ssh.py +++ b/src/conf_mode/ssh.py @@ -37,7 +37,7 @@ def get_config(): if not conf.exists(base): return None - ssh = conf.get_config_dict(base, key_mangling=('-', '_')) + ssh = conf.get_config_dict(base, key_mangling=('-', '_'), get_first_key=True) # We have gathered the dict representation of the CLI, but there are default # options which we need to update into the dictionary retrived. default_values = defaults(base) -- cgit v1.2.3