Move the initial sys path generation into a new project class.
This commit is contained in:
1 parent
0762c9218c
commit
383f749026
10 files changed
+42
-26
No files matched your search
@@ -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