From a878221e8d8e7a2f6297d7b114762867ea2ce558 Mon Sep 17 00:00:00 2001 From: Charles Machalow Date: Tue, 17 Dec 2024 16:24:05 -0800 Subject: [PATCH] Fix indenting from suggestions --- Lib/concurrent/futures/process.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Lib/concurrent/futures/process.py b/Lib/concurrent/futures/process.py index 9bbd71aaa515af..f6f2337246890f 100644 --- a/Lib/concurrent/futures/process.py +++ b/Lib/concurrent/futures/process.py @@ -881,8 +881,8 @@ def terminate_workers(self, signal=signal.SIGTERM): # The process is already exited/closed out. continue - try: - os.kill(pid, signal) - except ProcessLookupError: - # The process just ended before our signal - pass + try: + os.kill(pid, signal) + except ProcessLookupError: + # The process just ended before our signal + continue