1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Call the function :-)

Fixes #13330
This commit is contained in:
Toshio Kuratomi 2015-11-30 12:33:40 -08:00
parent cc36eedf76
commit e2ddc2f6ab

View file

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