1
0
forked from VimPlug/jedi

Move the initial sys path generation into a new project class.

This commit is contained in:
Dave Halter
2017-10-02 20:19:47 +02:00
parent 0762c9218c
commit 383f749026
10 changed files with 42 additions and 26 deletions
+1 -1
View File
@@ -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: