mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-19 06:51:25 +08:00
1 parent
e1f9624bd4
commit
f9cbc65f2d
1 file changed
+1
-4
@@ -184,10 +184,7 @@ def get_default_environment():
|
|||||||
if virtual_env is not None:
|
if virtual_env is not None:
|
||||||
return virtual_env
|
return virtual_env
|
||||||
|
|
||||||
for environment in find_system_environments():
|
# If no VirtualEnv is found, use the environment we're already
|
||||||
return environment
|
|
||||||
|
|
||||||
# If no Python Environment is found, use the environment we're already
|
|
||||||
# using.
|
# using.
|
||||||
return SameEnvironment()
|
return SameEnvironment()
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user