diff --git a/jedi/api/environment.py b/jedi/api/environment.py index 38c546b9..7aa16dc8 100644 --- a/jedi/api/environment.py +++ b/jedi/api/environment.py @@ -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()