From a9605e33a5d4f0950f6be8dc469b96efe9f444f7 Mon Sep 17 00:00:00 2001 From: Arpit Nama Date: Wed, 23 Aug 2023 08:53:20 +1000 Subject: [PATCH] remove unnecessary .keys() --- lib/ansible/parsing/splitter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/parsing/splitter.py b/lib/ansible/parsing/splitter.py index b336424d8af..70b9cd9d52e 100644 --- a/lib/ansible/parsing/splitter.py +++ b/lib/ansible/parsing/splitter.py @@ -80,7 +80,7 @@ def parse_kv(args, check_raw=False): k = x[:pos] v = x[pos + 1:] - if check_raw and k not in get_command_args().keys(): + if check_raw and k not in get_command_args(): raw_params.append(orig_x) else: options[k.strip()] = unquote(v.strip())