File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 1717load ("@bazel_skylib//rules:common_settings.bzl" , "BuildSettingInfo" )
1818load ("//python:py_runtime_info.bzl" , "PyRuntimeInfo" )
1919load (":common_labels.bzl" , "labels" )
20- load (":flags.bzl" , "read_possibly_native_flag" )
2120load (":reexports.bzl" , "BuiltinPyRuntimeInfo" )
2221
2322def _py_runtime_pair_impl (ctx ):
@@ -37,10 +36,9 @@ def _py_runtime_pair_impl(ctx):
3736 else :
3837 py3_runtime = None
3938
40-
4139 if py2_runtime != None :
4240 fail ("Using Python 2 is not supported and disabled; see " +
43- "https://github.com/bazelbuild/bazel/issues/15684" )
41+ "https://github.com/bazelbuild/bazel/issues/15684" )
4442
4543 extra_kwargs = {}
4644 if ctx .attr ._visible_for_testing [BuildSettingInfo ].value :
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ def _py_runtime_impl(ctx):
8989
9090 if python_version == "PY2" :
9191 fail ("Using Python 2 is not supported and disabled; see " +
92- "https://github.com/bazelbuild/bazel/issues/15684" )
92+ "https://github.com/bazelbuild/bazel/issues/15684" )
9393
9494 pyc_tag = ctx .attr .pyc_tag
9595 if not pyc_tag and (ctx .attr .implementation_name and
You can’t perform that action at this time.
0 commit comments