Call the function :-)

Fixes #13330
pull/13367/head
Toshio Kuratomi 9 years ago
parent cc36eedf76
commit e2ddc2f6ab

@ -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…
Cancel
Save