1
0
forked from VimPlug/jedi

Don't mutate the sys.path. This is pretty nasty bug that fixes #1148

This commit is contained in:
Dave Halter
2018-07-04 08:40:05 +02:00
parent 2500112f6c
commit a12d62e9c9

View File

@@ -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: