Skip to content

Commit 2230d7d

Browse files
committed
chore: remove unnecessary DEFAULT_BOOTSTRAP_TEMPLATE global
1 parent 7f5a1b5 commit 2230d7d

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

python/private/py_runtime_info.bzl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ load(":util.bzl", "define_bazel_6_provider")
1717

1818
DEFAULT_STUB_SHEBANG = "#!/usr/bin/env python3"
1919

20-
DEFAULT_BOOTSTRAP_TEMPLATE = Label("//python/private:bootstrap_template")
21-
2220
_PYTHON_VERSION_VALUES = ["PY2", "PY3"]
2321

2422
def _optional_int(value):

python/private/py_runtime_rule.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ If not set, then it will be set based on flags.
201201
),
202202
"bootstrap_template": attr.label(
203203
allow_single_file = True,
204-
default = DEFAULT_BOOTSTRAP_TEMPLATE,
204+
default = Label("//python/private:bootstrap_template"),
205205
doc = """
206206
The bootstrap script template file to use. Should have %python_binary%,
207207
%workspace_name%, %main%, and %imports%.

0 commit comments

Comments
 (0)