mirror of
https://github.com/davidhalter/jedi.git
synced 2026-09-07 20:49:10 +08:00
Remove an unnecessary else
This commit is contained in:
@@ -336,7 +336,7 @@ def _is_safe(executable_path):
|
|||||||
for environment in find_python_environments():
|
for environment in find_python_environments():
|
||||||
if environment.executable == real_path:
|
if environment.executable == real_path:
|
||||||
return True
|
return True
|
||||||
else:
|
|
||||||
# If the versions don't match, just compare the binary files. If we
|
# If the versions don't match, just compare the binary files. If we
|
||||||
# don't do that, only venvs will be working and not virtualenvs.
|
# don't do that, only venvs will be working and not virtualenvs.
|
||||||
# venvs are symlinks while virtualenvs are actual copies of the
|
# venvs are symlinks while virtualenvs are actual copies of the
|
||||||
|
|||||||
Reference in New Issue
Block a user