1
0
forked from VimPlug/jedi

move module checking again - probably the last time (resolves an import issue)

This commit is contained in:
Dave Halter
2014-01-07 15:20:00 +01:00
parent a74b7299e2
commit 3126031ff2
4 changed files with 49 additions and 52 deletions
+2 -1
View File
@@ -55,6 +55,7 @@ from jedi.parser import representation as pr
from jedi import settings
from jedi.evaluate import helpers
from jedi.evaluate.cache import memoize_default
from jedi.evaluate import imports
# This is something like the sys.path, but only for searching params. It means
# that this is the order in which Jedi searches params.
@@ -173,7 +174,7 @@ def search_params(evaluator, param):
result = []
# This is like backtracking: Get the first possible result.
for mod in helpers.get_modules_containing_name([current_module], func_name):
for mod in imports.get_modules_containing_name([current_module], func_name):
result = get_params_for_module(mod)
if result:
break