Goto should not include imports that cannot be followed.
This commit is contained in:
1 parent
691e5a8969
commit
d04241b482
5 files changed
+29
-12
No files matched your search
@@ -179,7 +179,7 @@ def _get_paths_from_buildout_script(evaluator, buildout_script):
|
||||
cache.save_parser(buildout_script, p)
|
||||
return p.module
|
||||
|
||||
cached = cache.load_parser(buildout_script, None)
|
||||
cached = cache.load_parser(buildout_script)
|
||||
module = cached and cached.module or load(buildout_script)
|
||||
if not module:
|
||||
return
|
||||
|
||||
Reference in new issue
Block a user