diff --git a/launch/launch/actions/execute_local.py b/launch/launch/actions/execute_local.py index f115d8ef1..28c4a5392 100644 --- a/launch/launch/actions/execute_local.py +++ b/launch/launch/actions/execute_local.py @@ -278,7 +278,7 @@ def _shutdown_process(self, context, *, send_sigint): 'process_name': self.process_details['name'], 'process_pid': self.process_details['pid'], }) - actions_to_return = self.__get_shutdown_timer_actions(context) + actions_to_return = self.__get_shutdown_timer_actions() if send_sigint: actions_to_return.append(self.__get_sigint_event()) return actions_to_return @@ -434,7 +434,7 @@ def __on_shutdown(self, event: Event, context: LaunchContext) -> Optional[SomeAc send_sigint=not due_to_sigint or context.noninteractive, ) - def __get_shutdown_timer_actions(self, context) -> List[Action]: + def __get_shutdown_timer_actions(self)-> List[Action]: base_msg = \ "process[{}] failed to terminate '{}' seconds after receiving '{}', escalating to '{}'"