8000 cleanup: remove unused sanitize_platform_name function (#2887) · bazel-contrib/rules_python@ce50f6a · GitHub
[go: up one dir, main page]

Skip to content

Commit ce50f6a

Browse files
authored
cleanup: remove unused sanitize_platform_name function (#2887)
The sanitize_platform_name function is unused, so remove it.
1 parent ea4714d commit ce50f6a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

python/private/toolchains_repo.bzl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -404,9 +404,6 @@ multi_toolchain_aliases = repository_rule(
404404
},
405405
)
406406

407-
def sanitize_platform_name(platform):
408-
return platform.replace("-", "_")
409-
410407
def _get_host_platform(*, rctx, logger, python_version, os_name, cpu_name, platforms):
411408
"""Gets the host platform.
412409

0 commit comments

Comments
 (0)
0