From 37cafa730560d25d9595c1162558986fa9121d82 Mon Sep 17 00:00:00 2001 From: Alex Martani Date: Tue, 10 Dec 2024 16:09:31 -0800 Subject: [PATCH] Strip leading slash for repo url --- python/private/pypi/parse_simpleapi_html.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/private/pypi/parse_simpleapi_html.bzl b/python/private/pypi/parse_simpleapi_html.bzl index b4e7dd8330..e549e76181 100644 --- a/python/private/pypi/parse_simpleapi_html.bzl +++ b/python/private/pypi/parse_simpleapi_html.bzl @@ -138,4 +138,4 @@ def _absolute_url(index_url, candidate): return "{}/{}".format(index_url, last.strip("/")) # relative path without up-references - return "{}/{}".format(index_url, candidate) + return "{}/{}".format(index_url.rstrip("/"), candidate)