Skip to content

Commit 29d8c2d

Browse files
authored
Merge pull request #2784 from isuruf/debug
Fix debug message
2 parents fbd0042 + 61053ac commit 29d8c2d

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

conda_forge_tick/make_migrators.py

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -645,6 +645,9 @@ def create_migration_yaml_creator(
645645
with fold_log_lines(
646646
"making pinning migrator for %s" % pinning_name
647647
):
648+
pinnings_together = packages_to_migrate_together.get(
649+
pinning_name, [pinning_name]
650+
)
648651
print(" %s:" % pinning_name, flush=True)
649652
print(" package name:", package_name, flush=True)
650653
print(" feedstock name:", fs_name, flush=True)
@@ -656,7 +659,12 @@ def create_migration_yaml_creator(
656659
" curr pin: %s\n"
657660
" pin_spec: %s\n"
658661
" pinnings: %s"
659-
% (current_version, current_pin, pin_spec, pinnings),
662+
% (
663+
current_version,
664+
current_pin,
665+
pin_spec,
666+
pinnings_together,
667+
),
660668
flush=True,
661669
)
662670
migrators.append(
@@ -667,9 +675,7 @@ def create_migration_yaml_creator(
667675
pin_spec,
668676
fs_name,
669677
cfp_gx,
670-
pinnings=packages_to_migrate_together.get(
671-
pinning_name, [pinning_name]
672-
),
678+
pinnings=pinnings_together,
673679
full_graph=gx,
674680
),
675681
)

0 commit comments

Comments
 (0)