Remove an unnecessary else
This commit is contained in:
1 parent
81771264e0
commit
737154d657
1 file changed
+1
-1
@@ -336,7 +336,7 @@ def _is_safe(executable_path):
|
||||
for environment in find_python_environments():
|
||||
if environment.executable == real_path:
|
||||
return True
|
||||
else:
|
||||
|
||||
# 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.
|
||||
# venvs are symlinks while virtualenvs are actual copies of the
|
||||
|
||||
Reference in new issue
Block a user