Skip to content

Commit

Permalink
Move newline inside f-string
Browse files Browse the repository at this point in the history
  • Loading branch information
enourbakhsh committed Dec 24, 2024
1 parent d47cbfd commit a3a6a69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lsst/pex/config/history.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ def format(config, name=None, writeSourceLine=True, prefix="", verbose=False):

output[i] = " ".join([_colorize(v, t) for v, t in vt])

line += ("\n" + f"{'':>{valueLength + 1}}").join(output)
line += f"\n{'':>{valueLength + 1}}".join(output)
msg.append(line)

return "\n".join(msg)

0 comments on commit a3a6a69

Please sign in to comment.