Skip to content

Commit a61f888

Browse files
committed
remove unused parameter, add helpful debug info
1 parent 24db1b4 commit a61f888

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
@@ -706,7 +706,6 @@ def create_migration_yaml_creator(
706706

707707
def initialize_migrators(
708708
gx: nx.DiGraph,
709-
dry_run: bool = False,
710709
) -> MutableSequence[Migrator]:
711710
migrators: List[Migrator] = []
712711

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

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

0 commit comments

Comments
 (0)