From e2ddc2f6abf7a0a479ac7b59009be79aff3e7f97 Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Mon, 30 Nov 2015 12:33:40 -0800 Subject: [PATCH] Call the function :-) Fixes #13330 --- lib/ansible/module_utils/basic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/module_utils/basic.py b/lib/ansible/module_utils/basic.py index e14ebfa6803..d2cf09458ea 100644 --- a/lib/ansible/module_utils/basic.py +++ b/lib/ansible/module_utils/basic.py @@ -213,7 +213,7 @@ except ImportError: elif isinstance(node, ast.List): return list(map(_convert, node.nodes)) elif isinstance(node, ast.Dict): - return dict((_convert(k), _convert(v)) for k, v in node.items) + return dict((_convert(k), _convert(v)) for k, v in node.items()) elif isinstance(node, ast.Name): if node.name in _safe_names: return _safe_names[node.name]