We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59d75f4 commit 2de4153Copy full SHA for 2de4153
python/private/pypi/generate_whl_library_build_bazel.bzl
@@ -109,7 +109,7 @@ def generate_whl_library_build_bazel(
109
kwargs["copy_executables"] = annotation.copy_executables
110
kwargs["data_exclude"] = kwargs.get("data_exclude", []) + annotation.data_exclude_glob
111
kwargs["srcs_exclude"] = annotation.srcs_exclude_glob
112
- if annotation.enable_implicit_namespace_pkgs != None:
+ if hasattr(annotation, "enable_implicit_namespace_pkgs") and annotation.enable_implicit_namespace_pkgs != None:
113
kwargs["enable_implicit_namespace_pkgs"] = annotation.enable_implicit_namespace_pkgs
114
if annotation.additive_build_content:
115
additional_content.append(annotation.additive_build_content)
0 commit comments