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 013acd9 commit cb1c382Copy full SHA for cb1c382
python/private/pypi/simpleapi_download.bzl
@@ -148,10 +148,11 @@ def simpleapi_download(
148
if found_on_index[pkg] != attr.index_url
149
}
150
151
- # buildifier: disable=print
152
- print("You can use the following `index_url_overrides` to avoid the 404 warnings:\n{}".format(
153
- render.dict(index_url_overrides),
154
- ))
+ if index_url_overrides:
+ # buildifier: disable=print
+ print("You can use the following `index_url_overrides` to avoid the 404 warnings:\n{}".format(
+ render.dict(index_url_overrides),
155
+ ))
156
157
return contents
158
0 commit comments