Skip to content

Commit

Permalink
Fix formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
destogl committed Jul 9, 2024
1 parent 7447905 commit 3a6f191
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ros2controlcli/ros2controlcli/verb/list_controllers.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ def print_controller_state(c, args, col_width_name, col_width_state, col_width_t
elif c.state == "unconfigured":
state_color = bcolors.WARNING

print(f"{state_color}{c.name:<{col_width_name}}{bcolors.ENDC} {c.type:<{col_width_type}} {state_color}{c.state:<{col_width_state}}{bcolors.ENDC}")
print(
f"{state_color}{c.name:<{col_width_name}}{bcolors.ENDC} {c.type:<{col_width_type}} {state_color}{c.state:<{col_width_state}}{bcolors.ENDC}"
)
if args.claimed_interfaces or args.verbose:
print("\tclaimed interfaces:")
for claimed_interface in c.claimed_interfaces:
Expand Down

0 comments on commit 3a6f191

Please sign in to comment.