Commit dac4ba14 authored by Amaury Forgeot d'Arc's avatar Amaury Forgeot d'Arc

Fix after merge.

parent c7e32a1e
......@@ -59,9 +59,8 @@ in addition to any features explicitly specified.
"compile() expected string without null bytes"))
if flags & consts.PyCF_ONLY_AST:
mode = ec.compiler.compile_to_ast(str_, filename, mode, flags)
w_node = node.to_object(space)
return w_node
node = ec.compiler.compile_to_ast(source, filename, mode, flags)
return node.to_object(space)
code = ec.compiler.compile(source, filename, mode, flags)
return space.wrap(code)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment