Skip to content

Commit 4a8260c

Browse files
committed
fix empty runtime venv symlinks handling
1 parent 711f758 commit 4a8260c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/private/python_bootstrap_template.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ else:
8080
RUNTIME_VENV_SYMLINKS = """
8181
%runtime_venv_symlinks%
8282
""".strip().split("\n")
83-
RUNTIME_VENV_SYMLINKS = dict(line.split("|") for line in RUNTIME_VENV_SYMLINKS)
83+
RUNTIME_VENV_SYMLINKS = dict(line.split("|") for line in RUNTIME_VENV_SYMLINKS if line)
8484

8585
ADDITIONAL_INTERPRETER_ARGS = os.environ.get("RULES_PYTHON_ADDITIONAL_INTERPRETER_ARGS", "")
8686
EXTRACT_ROOT = os.environ.get("RULES_PYTHON_EXTRACT_ROOT")

0 commit comments

Comments
 (0)