Skip to content

Commit

Permalink
Use the same indentation for consistency
Browse files Browse the repository at this point in the history
Co-Authored-By: Claire Wang <[email protected]>
Signed-off-by: evshary <[email protected]>
  • Loading branch information
evshary and Claire Wang committed Oct 25, 2019
1 parent fdf525c commit 0d6c6e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ros2topic/ros2topic/verb/list.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def show_topic_info(topic_info, isPub):
if cnt:
topic_types_formatted = ', '.join(topic_types)
cnt_str = str(cnt) + ' ' + ('publisher' if isPub else 'subscriber') \
+ ('s' if cnt > 1 else '')
+ ('s' if cnt > 1 else '')
msg = ' * {topic_name} [{topic_types_formatted}] {cnt_str}'
print(msg.format_map(locals()))

Expand Down

0 comments on commit 0d6c6e8

Please sign in to comment.