Skip to content

Commit

Permalink
remove unused parameter, add helpful debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
ytausch committed Jun 26, 2024
1 parent e734fdc commit 2ed9925
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
3 changes: 2 additions & 1 deletion conda_forge_tick/auto_tick.py
Original file line number Diff line number Diff line change
Expand Up @@ -933,7 +933,8 @@ def _run_migrator(
if package:
if package not in possible_nodes:
logger.info(
f"Package {package} is not a candidate for migration of {migrator_name}"
f"Package {package} is not a candidate for migration of {migrator_name}. "
f"If you want to investigate this, run the make-migrators command."
)
return 0
possible_nodes = [package]
Expand Down
6 changes: 1 addition & 5 deletions conda_forge_tick/make_migrators.py
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,6 @@ def create_migration_yaml_creator(

def initialize_migrators(
gx: nx.DiGraph,
dry_run: bool = False,
) -> MutableSequence[Migrator]:
migrators: List[Migrator] = []

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

def main(ctx: CliContext) -> None:
gx = load_existing_graph()
migrators = initialize_migrators(
gx,
dry_run=ctx.dry_run,
)
migrators = initialize_migrators(gx)
with (
fold_log_lines("dumping migrators to JSON"),
lazy_json_override_backends(
Expand Down

0 comments on commit 2ed9925

Please sign in to comment.