Skip to content

Commit

Permalink
os -> subdir_os to avoid conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
isuruf committed Sep 23, 2023
1 parent 2b7d734 commit 5b6a1ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions conda_build/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ def get_selectors(config: Config) -> dict[str, bool]:
subdir_oses = set([subdir.split("-")[0] for subdir in DEFAULT_SUBDIRS])
subdir_archs = set([subdir.split("-")[1] for subdir in DEFAULT_SUBDIRS])

for os in subdir_oses:
d[os] = plat.startswith(f"{os}-")
for subdir_os in subdir_oses:
d[subdir_os] = plat.startswith(f"{subdir_os}-")

for arch in subdir_arches:
arch_full = ARCH_MAP.get(arch, arch)
Expand Down

0 comments on commit 5b6a1ef

Please sign in to comment.