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 Nov 12, 2024
1 parent 24db1b4 commit a61f888
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 @@ -931,7 +931,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 @@ -706,7 +706,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 @@ -832,10 +831,7 @@ def load_migrators(skip_paused: bool = True) -> 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 a61f888

Please sign in to comment.