From 0d6c6e8aefd581bcb0c23a20e7c5c31ee1b70b7e Mon Sep 17 00:00:00 2001 From: evshary Date: Mon, 14 Oct 2019 09:57:25 +0800 Subject: [PATCH] Use the same indentation for consistency Co-Authored-By: Claire Wang Signed-off-by: evshary --- ros2topic/ros2topic/verb/list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ros2topic/ros2topic/verb/list.py b/ros2topic/ros2topic/verb/list.py index 324e851ab..fa07816aa 100644 --- a/ros2topic/ros2topic/verb/list.py +++ b/ros2topic/ros2topic/verb/list.py @@ -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()))