GitLab will be upgraded on June 2nd 2020 at 2.00 pm (AEDT) to 3.00 pm (AEDT) due to Critical Security Patch Availability. During the update, GitLab and Mattermost services will not be available. If you have any concerns with this, please talk to local Gitlab admin team.

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
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment