Fix interpreter issues with modules
This commit is contained in:
1 parent
f432a0b7c4
commit
6036ea60d1
3 files changed
+7
-6
No files matched your search
@@ -151,9 +151,9 @@ def _get_paths_from_buildout_script(evaluator, buildout_script_path):
|
||||
return
|
||||
|
||||
from jedi.evaluate.context import ModuleContext
|
||||
raise NotImplementedError("No module string_names, yet")
|
||||
module = ModuleContext(
|
||||
evaluator, module_node, buildout_script_path,
|
||||
string_names=None,
|
||||
code_lines=get_cached_code_lines(evaluator.grammar, buildout_script_path),
|
||||
)
|
||||
for path in check_sys_path_modifications(module):
|
||||
|
||||
Reference in new issue
Block a user