Skip to content

Commit 6ac8f58

Browse files
authored
Revert "oss_fuzz_checkout: relax constraints on venv check (#916)" (#921)
This reverts commit aaaf0f8 to identify root cause of recent bugs that affects all experiments.
1 parent 483c583 commit 6ac8f58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

experiment/oss_fuzz_checkout.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def postprocess_oss_fuzz() -> None:
119119

120120
# If already in a virtualenv environment assume all is set up
121121
venv_path = os.path.split(os.environ.get('VIRTUAL_ENV', ''))
122-
if venv_path:
122+
if venv_path and venv_path[0].endswith(os.path.split(OSS_FUZZ_DIR)[-1]):
123123
return
124124

125125
result = sp.run(['python3', '-m', 'venv', VENV_DIR],

0 commit comments

Comments
 (0)