From d8bf1d1cdab1bb0b0b33b340c359fa1be3a5da49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20Fr=C3=B6hlich?= Date: Fri, 12 Jan 2024 22:20:01 +0100 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Dr. Denis --- ros2controlcli/ros2controlcli/verb/set_controller_state.py | 2 +- .../ros2controlcli/verb/set_hardware_component_state.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ros2controlcli/ros2controlcli/verb/set_controller_state.py b/ros2controlcli/ros2controlcli/verb/set_controller_state.py index 73bffcc5cd9..7cc44775a1b 100644 --- a/ros2controlcli/ros2controlcli/verb/set_controller_state.py +++ b/ros2controlcli/ros2controlcli/verb/set_controller_state.py @@ -81,7 +81,7 @@ def main(self, *, args): else: return ( - f'cannot put {matched_controller.name} in "inactive" state ' + f"cannot put {matched_controller.name} in 'inactive' state " f"from its current state {matched_controller.state}" ) diff --git a/ros2controlcli/ros2controlcli/verb/set_hardware_component_state.py b/ros2controlcli/ros2controlcli/verb/set_hardware_component_state.py index 819b49fcf54..7adfc0d7f94 100644 --- a/ros2controlcli/ros2controlcli/verb/set_hardware_component_state.py +++ b/ros2controlcli/ros2controlcli/verb/set_hardware_component_state.py @@ -1,4 +1,4 @@ -# Copyright 2023 ROS2Control Developer Team +# Copyright 2023 ros2_control Development Team # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License.