From 06876d7e39fb6f220c9eba1f7f7c6b4f6218fdf1 Mon Sep 17 00:00:00 2001 From: "Matthew R. Becker" Date: Tue, 26 Nov 2024 05:07:11 -0600 Subject: [PATCH] Update conda_forge_tick/make_migrators.py --- conda_forge_tick/make_migrators.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/conda_forge_tick/make_migrators.py b/conda_forge_tick/make_migrators.py index a5b8fc0cd7..2e7c89a286 100644 --- a/conda_forge_tick/make_migrators.py +++ b/conda_forge_tick/make_migrators.py @@ -151,16 +151,16 @@ def add_replacement_migrator( graph=total_graph, ), ) - - migrators.append( - Replacement( - old_pkg=old_pkg, - new_pkg=new_pkg, - rationale=rationale, - pr_limit=PR_LIMIT, - graph=total_graph, - ), - ) + else: + migrators.append( + Replacement( + old_pkg=old_pkg, + new_pkg=new_pkg, + rationale=rationale, + pr_limit=PR_LIMIT, + graph=total_graph, + ), + ) def add_arch_migrate(migrators: MutableSequence[Migrator], gx: nx.DiGraph) -> None: