From 7785def9be061029c3a128a74214af493a5c1e31 Mon Sep 17 00:00:00 2001 From: Chris Lalancette Date: Wed, 27 Apr 2022 13:32:22 +0000 Subject: [PATCH] Remove unused variables. Signed-off-by: Chris Lalancette --- launch/launch/actions/execute_local.py | 4 ---- launch/launch/actions/execute_process.py | 4 ---- 2 files changed, 8 deletions(-) diff --git a/launch/launch/actions/execute_local.py b/launch/launch/actions/execute_local.py index c10dde664..9eabaee5d 100644 --- a/launch/launch/actions/execute_local.py +++ b/launch/launch/actions/execute_local.py @@ -20,7 +20,6 @@ import os import platform import signal -import threading import traceback from typing import Any # noqa: F401 from typing import Callable @@ -75,9 +74,6 @@ from ..utilities.type_utils import normalize_typed_substitution from ..utilities.type_utils import perform_typed_substitution -_global_process_counter_lock = threading.Lock() -_global_process_counter = 0 # in Python3, this number is unbounded (no rollover) - class ExecuteLocal(Action): """Action that begins executing a process on the local system and sets up event handlers.""" diff --git a/launch/launch/actions/execute_process.py b/launch/launch/actions/execute_process.py index c28a9752f..e115ee8c9 100644 --- a/launch/launch/actions/execute_process.py +++ b/launch/launch/actions/execute_process.py @@ -15,7 +15,6 @@ """Module for the ExecuteProcess action.""" import shlex -import threading from typing import Dict from typing import Iterable from typing import List @@ -31,9 +30,6 @@ from ..some_substitutions_type import SomeSubstitutionsType from ..substitutions import TextSubstitution -_global_process_counter_lock = threading.Lock() -_global_process_counter = 0 # in Python3, this number is unbounded (no rollover) - @expose_action('executable') class ExecuteProcess(ExecuteLocal):