Remove the module attribute from the parser.
This commit is contained in:
1 parent
d0b6d41e99
commit
0f66a3c7a8
11 files changed
+21
-20
No files matched your search
@@ -222,7 +222,7 @@ def _get_paths_from_buildout_script(evaluator, buildout_script):
|
||||
|
||||
p = ParserWithRecovery(evaluator.grammar, source, buildout_script)
|
||||
save_parser(buildout_script, p)
|
||||
return p.module
|
||||
return p.get_root_node()
|
||||
|
||||
cached = load_parser(buildout_script)
|
||||
module_node = cached and cached.module or load(buildout_script)
|
||||
|
||||
Reference in new issue
Block a user