From 0f4e7eccc8abf61d6242c03cb7b160a786ac3593 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 18 Apr 2021 10:18:12 +0200 Subject: policy: T2425: to simplify dictionary use get_first_key=True on get_config_dict() --- src/conf_mode/policy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/conf_mode') diff --git a/src/conf_mode/policy.py b/src/conf_mode/policy.py index ddbb00552..fec9a206e 100755 --- a/src/conf_mode/policy.py +++ b/src/conf_mode/policy.py @@ -34,7 +34,7 @@ def get_config(config=None): conf = Config() base = ['policy'] - policy = conf.get_config_dict(base, key_mangling=('-', '_'), + policy = conf.get_config_dict(base, key_mangling=('-', '_'), get_first_key=True, no_tag_node_value_mangle=True) return policy -- cgit v1.2.3