Skip to content

Commit 8807817

Browse files
committed
remove unused parameter, add helpful debug info
1 parent 7d3c9cb commit 8807817

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
@@ -704,7 +704,6 @@ def create_migration_yaml_creator(
704704

705705
def initialize_migrators(
706706
gx: nx.DiGraph,
707-
dry_run: bool = False,
708707
) -> MutableSequence[Migrator]:
709708
migrators: List[Migrator] = []
710709

@@ -831,10 +830,7 @@ def load_migrators(skip_paused: bool = True) -> MutableSequence[Migrator]:
831830

832831
def main(ctx: CliContext) -> None:
833832
gx = load_existing_graph()
834-
migrators = initialize_migrators(
835-
gx,
836-
dry_run=ctx.dry_run,
837-
)
833+
migrators = initialize_migrators(gx)
838834
with (
839835
fold_log_lines("dumping migrators to JSON"),
840836
lazy_json_override_backends(

0 commit comments

Comments
 (0)