Skip to content

Commit

Permalink
Fix progress logging statement from BeakerExecutor (#458)
Browse files Browse the repository at this point in the history
  • Loading branch information
epwalsh authored Oct 28, 2022
1 parent 8b087df commit 9d9628f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tango/integrations/beaker/executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -574,17 +574,17 @@ def log_progress():
]
if len(waiting_for) > 5:
logger.info(
"Waiting for %d running steps...",
"Waiting for %d steps...",
len(waiting_for),
)
elif len(waiting_for) > 1:
logger.info(
"Waiting for %d running steps (%s)...",
"Waiting for %d steps (%s)...",
len(waiting_for),
list(waiting_for),
"'" + "', '".join(waiting_for) + "'",
)
elif len(waiting_for) == 1:
logger.info("Waiting for 1 running step ('%s')...", list(waiting_for)[0])
logger.info("Waiting for 1 step ('%s')...", list(waiting_for)[0])

still_to_run = [
step.name for step in steps_left_to_run if step.name not in submitted_steps
Expand Down

0 comments on commit 9d9628f

Please sign in to comment.