Call the function :-)

Fixes #13330
pull/13451/head
Toshio Kuratomi 9 years ago
parent 89f0207007
commit 4f3f79d37b

@ -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]

Loading…
Cancel
Save