Skip to content

Commit cc6563e

Browse files
committed
correctly pop the platform
1 parent 4f1f4c5 commit cc6563e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/private/pypi/extension.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ def _configure(
490490
continue
491491

492492
config["platforms"][platform][key] = value
493-
else:
493+
elif platform:
494494
config["platforms"].pop(platform)
495495

496496
def _plat(*, name, arch_name, os_name, config_settings = [], env = {}, marker = "", whl_abi_tags = [], whl_platform_tags = []):

0 commit comments

Comments
 (0)