diff --git a/conda_forge_tick/make_migrators.py b/conda_forge_tick/make_migrators.py index 75499bb3d..cb96b85a6 100644 --- a/conda_forge_tick/make_migrators.py +++ b/conda_forge_tick/make_migrators.py @@ -150,7 +150,7 @@ def _compute_migrator_pr_limit( number_pred += 1 tot_nodes = len(migrator.graph.nodes) - frac_pred = number_pred / tot_nodes + frac_pred = number_pred / tot_nodes if tot_nodes > 0 else 1.0 tenth = int(tot_nodes / 10) quarter = int(tot_nodes / 4)