Skip to content

Commit ec022d2

Browse files
committed
Line length
Signed-off-by: Darko Lukic <lukicdarkoo@gmail.com>
1 parent 26fb788 commit ec022d2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

launch/launch/actions/execute_process.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,8 @@ async def __execute_process(self, context: LaunchContext) -> None:
766766
))
767767
await context.emit_event(ProcessExited(returncode=returncode, **process_event_args))
768768
# respawn the process if necessary
769-
if not context.is_shutdown and not self.__shutdown_future.done() and self.__respawn and returncode != 0:
769+
if not context.is_shutdown and not self.__shutdown_future.done() and self.__respawn and \
770+
returncode != 0:
770771
if self.__respawn_delay is not None and self.__respawn_delay > 0.0:
771772
# wait for a timeout(`self.__respawn_delay`) to respawn the process
772773
# and handle shutdown event with future(`self.__shutdown_future`)

0 commit comments

Comments
 (0)