Skip to content

Commit

Permalink
strip info string of white space
Browse files Browse the repository at this point in the history
  • Loading branch information
braingram committed Dec 6, 2023
1 parent d494f7e commit 8cfdc07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asdf/_display.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def _render_node(self, info, active_depths, is_tail):
)

if info.info is not None:
line = line + format_faint(format_italic(" # " + info.info))
line = line + format_faint(format_italic(" # " + info.info.strip()))
visible_children = info.visible_children
if len(visible_children) == 0 and len(info.children) > 0:
line = line + format_italic(" ...")
Expand Down

0 comments on commit 8cfdc07

Please sign in to comment.