1
0
forked from VimPlug/jedi

Return SameEnvironment as a default, fixes #1226, #1196

This commit is contained in:
Dave Halter
2018-09-30 14:07:37 +02:00
parent e1f9624bd4
commit f9cbc65f2d

View File

@@ -184,10 +184,7 @@ def get_default_environment():
if virtual_env is not None:
return virtual_env
for environment in find_system_environments():
return environment
# If no Python Environment is found, use the environment we're already
# If no VirtualEnv is found, use the environment we're already
# using.
return SameEnvironment()