Skip to content

Commit 2ed9925

Browse files
committed
remove unused parameter, add helpful debug info
1 parent e734fdc commit 2ed9925

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
@@ -933,7 +933,8 @@ def _run_migrator(
933933
if package:
934934
if package not in possible_nodes:
935935
logger.info(
936-
f"Package {package} is not a candidate for migration of {migrator_name}"
936+
f"Package {package} is not a candidate for migration of {migrator_name}. "
937+
f"If you want to investigate this, run the make-migrators command."
937938
)
938939
return 0
939940
possible_nodes = [package]

conda_forge_tick/make_migrators.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,6 @@ def create_migration_yaml_creator(
692692

693693
def initialize_migrators(
694694
gx: nx.DiGraph,
695-
dry_run: bool = False,
696695
) -> MutableSequence[Migrator]:
697696
migrators: List[Migrator] = []
698697

@@ -811,10 +810,7 @@ def load_migrators() -> MutableSequence[Migrator]:
811810

812811
def main(ctx: CliContext) -> None:
813812
gx = load_existing_graph()
814-
migrators = initialize_migrators(
815-
gx,
816-
dry_run=ctx.dry_run,
817-
)
813+
migrators = initialize_migrators(gx)
818814
with (
819815
fold_log_lines("dumping migrators to JSON"),
820816
lazy_json_override_backends(

0 commit comments

Comments
 (0)