Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused variables. #612

Merged
merged 1 commit into from Apr 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 0 additions & 4 deletions launch/launch/actions/execute_local.py
Expand Up @@ -20,7 +20,6 @@
import os
import platform
import signal
import threading
import traceback
from typing import Any # noqa: F401
from typing import Callable
Expand Down Expand Up @@ -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."""
Expand Down
4 changes: 0 additions & 4 deletions launch/launch/actions/execute_process.py
Expand Up @@ -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
Expand All @@ -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):
Expand Down