Skip to content

Commit 2de4153

Browse files
committed
make tests pass
1 parent 59d75f4 commit 2de4153

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/private/pypi/generate_whl_library_build_bazel.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def generate_whl_library_build_bazel(
109109
kwargs["copy_executables"] = annotation.copy_executables
110110
kwargs["data_exclude"] = kwargs.get("data_exclude", []) + annotation.data_exclude_glob
111111
kwargs["srcs_exclude"] = annotation.srcs_exclude_glob
112-
if annotation.enable_implicit_namespace_pkgs != None:
112+
if hasattr(annotation, "enable_implicit_namespace_pkgs") and annotation.enable_implicit_namespace_pkgs != None:
113113
kwargs["enable_implicit_namespace_pkgs"] = annotation.enable_implicit_namespace_pkgs
114114
if annotation.additive_build_content:
115115
additional_content.append(annotation.additive_build_content)

0 commit comments

Comments
 (0)