Skip to content

Commit

Permalink
flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Nov 20, 2023
1 parent 4babb1f commit d20da72
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -421,9 +421,9 @@ def _launch_checked_job_old(n_boards: int, spalloc_kwargs: dict) -> Tuple[
raise
connections = job.connections
if len(connections) < n_boards:
logger.warning("boards: {}",
str(connections).replace("{", "[").replace(
"}", "]"))
logger.warning(
"boards: {}",
str(connections).replace("{", "[").replace("}", "]"))
raise ValueError("Not enough connections detected")
if logger.isEnabledFor(logging.DEBUG):
logger.debug("boards: {}",
Expand Down

0 comments on commit d20da72

Please sign in to comment.