1
0
forked from VimPlug/jedi

Goto should not include imports that cannot be followed.

This commit is contained in:
Dave Halter
2015-04-23 02:37:22 +02:00
parent 691e5a8969
commit d04241b482
5 changed files with 29 additions and 12 deletions

View File

@@ -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