remove path existence checks in 'add_implementation_envs'

This commit is contained in:
Jakub Trllo 2022-04-01 17:36:18 +02:00
parent 6aeb40da48
commit ea3cae8bc4
5 changed files with 7 additions and 7 deletions

View file

@ -9,7 +9,7 @@ def add_implementation_envs(env, _app):
]
old_python_path = env.get("PYTHONPATH") or ""
for path in old_python_path.split(os.pathsep):
if not path or not os.path.exists(path):
if not path:
continue
norm_path = os.path.normpath(path)