forked from VimPlug/jedi
Don't mutate the sys.path. This is pretty nasty bug that fixes #1148
This commit is contained in:
@@ -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