mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
parent
cc36eedf76
commit
e2ddc2f6ab
1 changed files with 1 additions and 1 deletions
|
@ -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]
|
||||||
|
|
Loading…
Reference in a new issue