forked from VimPlug/jedi
Move the initial sys path generation into a new project class.
This commit is contained in:
@@ -444,7 +444,7 @@ def dotted_from_fs_path(fs_path, sys_path):
|
||||
|
||||
|
||||
def load_module(evaluator, path=None, name=None):
|
||||
sys_path = evaluator.sys_path
|
||||
sys_path = list(evaluator.project.sys_path)
|
||||
if path is not None:
|
||||
dotted_path = dotted_from_fs_path(path, sys_path=sys_path)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user