Call the function :-)

Fixes #13330

Conflicts:
	lib/ansible/module_utils/basic.py
This commit is contained in:
Toshio Kuratomi 2015-11-30 12:33:40 -08:00
parent 309996504f
commit f59bd76972

View file

@ -151,7 +151,7 @@ except ImportError:
elif isinstance(node, List): elif isinstance(node, List):
return list(map(_convert, node.nodes)) return list(map(_convert, node.nodes))
elif isinstance(node, Dict): elif isinstance(node, 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, Name): elif isinstance(node, Name):
if node.name in _safe_names: if node.name in _safe_names:
return _safe_names[node.name] return _safe_names[node.name]