Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
isuruf committed Sep 23, 2023
1 parent 82ab5e7 commit a791da1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions conda_build/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,13 +133,13 @@ def get_selectors(config: Config) -> dict[str, bool]:
)

subdirs = [subdir for subdir in DEFAULT_SUBDIRS if subdir != "noarch"]
subdir_oses = set([subdir.split("-")[0] for subdir in DEFAULT_SUBDIRS])
subdir_archs = set([subdir.split("-")[1] for subdir in DEFAULT_SUBDIRS])
subdir_oses = set([subdir.split("-")[0] for subdir in subdirs])
subdir_archs = set([subdir.split("-")[1] for subdir in subdirs])

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

for arch in subdir_arches:
for arch in subdir_archs:
arch_full = ARCH_MAP.get(arch, arch)
d[arch_full] = plat.endswith(f"-{arch}")
if arch == "32":
Expand Down

0 comments on commit a791da1

Please sign in to comment.