http.bzl: drop outdated comment
Since cdc99afc1a03ff8fbbbae088d358b7c029e0d232 label arguments are
prefetched. So it is no longer necessary to access them early.
Change-Id: I6d30bae3ac655387641ffd98f9b9aa95d2f1ece7
PiperOrigin-RevId: 196632853
diff --git a/tools/build_defs/repo/http.bzl b/tools/build_defs/repo/http.bzl
index e396914..6659fcb 100644
--- a/tools/build_defs/repo/http.bzl
+++ b/tools/build_defs/repo/http.bzl
@@ -38,12 +38,6 @@
if ctx.attr.build_file and ctx.attr.build_file_content:
ctx.fail("Only one of build_file and build_file_content can be provided.")
- # These print statement is not only for debug, but it also ensures the file
- # is referenced before the download is started; this is necessary till a
- # proper fix for https://github.com/bazelbuild/bazel/issues/2700 is
- # implemented. A proper could, e.g., be to ensure that all ctx.path of
- # all the lables provided as arguments are present before the implementation
- # function is called the first time.
if ctx.attr.build_file:
print("ctx.attr.build_file %s, path %s" %
(str(ctx.attr.build_file), ctx.path(ctx.attr.build_file)))