Skip to content

Commit 13c0be9

Browse files
committed
remove defunct semantics arg; call cache as pure decorator
1 parent 74d8390 commit 13c0be9

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

python/private/py_executable.bzl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1062,7 +1062,6 @@ def py_executable_base_impl(ctx, *, semantics, is_test, inherited_environment =
10621062
cc_details.extra_runfiles,
10631063
native_deps_details.runfiles,
10641064
],
1065-
semantics = semantics,
10661065
)
10671066
exec_result = _create_executable(
10681067
ctx,

python/private/stage2_bootstrap_template.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
class BazelBinaryInfoModule(types.ModuleType):
5151
BUILD_DATA_FILE = BUILD_DATA_FILE
5252

53-
@cache()
53+
@cache
5454
def get_build_data(self):
5555
"""Returns a string of the raw build data."""
5656
try:

0 commit comments

Comments
 (0)