Don't mutate the sys.path. This is pretty nasty bug that fixes #1148
This commit is contained in:
1 parent
2500112f6c
commit
a12d62e9c9
1 file changed
+1
-1
+1
-1
@@ -85,7 +85,7 @@ class Project(object):
|
||||
if environment is None:
|
||||
environment = self.get_environment()
|
||||
|
||||
sys_path = environment.get_sys_path()
|
||||
sys_path = list(environment.get_sys_path())
|
||||
try:
|
||||
sys_path.remove('')
|
||||
except ValueError:
|
||||
|
||||
Reference in new issue
Block a user