From a8ff257a9bf4a08a574fee5c73823a6d443bfa56 Mon Sep 17 00:00:00 2001 From: bom Date: Mon, 19 Dec 2022 12:14:42 +0100 Subject: [PATCH] Use correct function to iterate dict --- src/main/python/ddadevops/c4k_mixin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/python/ddadevops/c4k_mixin.py b/src/main/python/ddadevops/c4k_mixin.py index 9659313..2fe2faf 100644 --- a/src/main/python/ddadevops/c4k_mixin.py +++ b/src/main/python/ddadevops/c4k_mixin.py @@ -23,7 +23,7 @@ def add_c4k_mixin_config(config, def generate_clojure_map(template_dict): clojure_map_str = '{' - for key, value in template_dict: + for key, value in template_dict.items(): clojure_map_str += f':{key} {value}\n' clojure_map_str += '}' return clojure_map_str