Skip to content

Commit e520823

Browse files
Update python/private/python.bzl
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 26b0ae2 commit e520823

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/private/python.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@ def _process_single_version_platform_overrides(*, tag, _fail = fail, default, mo
686686
if url_env:
687687
urls_from_env = module_ctx.getenv(url_env)
688688
if urls_from_env:
689-
urls = [url.strip() for url in urls_from_env.split(",")]
689+
urls = [url.strip() for url in urls_from_env.split(",") if url.strip()]
690690

691691
if python_version not in available_versions:
692692
if not urls or not sha256 or not strip_prefix:

0 commit comments

Comments
 (0)