diff --git a/conda_forge_tick/migrators/migration_yaml.py b/conda_forge_tick/migrators/migration_yaml.py index cb3ec1d6d..6a73a849a 100644 --- a/conda_forge_tick/migrators/migration_yaml.py +++ b/conda_forge_tick/migrators/migration_yaml.py @@ -183,14 +183,14 @@ def filter(self, attrs: "AttrsTypedDict", not_bad_str_start: str = "") -> bool: Calls up the MRO until Migrator.filter, see docstring there (./core.py). """ migrator_payload = self.loaded_yaml.get("__migrator", {}) - platform_restriction = migrator_payload.get("platform_restriction", []) + platform_allowlist = migrator_payload.get("platform_allowlist", []) wait_for_migrators = migrator_payload.get("wait_for_migrators", []) platform_filtered = False - if platform_restriction: + if platform_allowlist: # filter out nodes where the intersection between - # attrs.platforms and platform_restriction is empty - intersection = set(attrs.get("platforms", {})) & set(platform_restriction) + # attrs.platforms and platform_allowlist is empty + intersection = set(attrs.get("platforms", {})) & set(platform_allowlist) platform_filtered = not bool(intersection) need_to_wait = False