We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f50f42 commit 908b5e5Copy full SHA for 908b5e5
python/private/pypi/index_sources.bzl
@@ -62,7 +62,8 @@ def index_sources(line):
62
if "@" in head:
63
requirement = requirement_line
64
# Extract URL from direct URL format
65
- url = requirement.partition("@")[2].strip().partition(" ")[0].strip()
+ _, _, url_and_rest = requirement.partition("@")
66
+ url = url_and_rest.strip().partition(" ")[0].strip()
67
# Extract filename from URL
68
if url:
69
filename = url.rpartition("/")[2]
0 commit comments