Skip to content

Commit ed1f8d2

Browse files
committed
remove unused parameter, add helpful debug info
1 parent 0f422ba commit ed1f8d2

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

conda_forge_tick/auto_tick.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -931,7 +931,8 @@ def _run_migrator(
931931
if package:
932932
if package not in possible_nodes:
933933
logger.info(
934-
f"Package {package} is not a candidate for migration of {migrator_name}"
934+
f"Package {package} is not a candidate for migration of {migrator_name}. "
935+
f"If you want to investigate this, run the make-migrators command."
935936
)
936937
return 0
937938
possible_nodes = [package]

conda_forge_tick/make_migrators.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,6 @@ def add_noarch_python_min_migrator(
753753

754754
def initialize_migrators(
755755
gx: nx.DiGraph,
756-
dry_run: bool = False,
757756
) -> MutableSequence[Migrator]:
758757
migrators: List[Migrator] = []
759758

@@ -883,10 +882,7 @@ def load_migrators(skip_paused: bool = True) -> MutableSequence[Migrator]:
883882

884883
def main(ctx: CliContext) -> None:
885884
gx = load_existing_graph()
886-
migrators = initialize_migrators(
887-
gx,
888-
dry_run=ctx.dry_run,
889-
)
885+
migrators = initialize_migrators(gx)
890886
with (
891887
fold_log_lines("dumping migrators to JSON"),
892888
lazy_json_override_backends(

0 commit comments

Comments
 (0)