From f2b6123d4178cb5c9999fbd0a5294699210183b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Wed, 24 Jul 2019 16:32:57 +0200 Subject: [PATCH] Remove unnecessary newlines --- tfw/components/fsm/fsm_handler.py | 1 - tfw/components/ide/file_manager/test_file_manager.py | 2 +- tfw/components/ide/ide_handler.py | 1 - tfw/components/pipe_io/pipe_io_handler.py | 1 - tfw/components/process_management/process_handler.py | 1 - tfw/components/process_management/process_log_handler.py | 1 - tfw/components/snapshots/snapshot_handler.py | 1 - tfw/components/terminal/terminal_handler.py | 1 - tfw/config/envvars.py | 1 - tfw/main/tfw_server.py | 1 - 10 files changed, 1 insertion(+), 10 deletions(-) diff --git a/tfw/components/fsm/fsm_handler.py b/tfw/components/fsm/fsm_handler.py index 2dc163e..e86dee2 100644 --- a/tfw/components/fsm/fsm_handler.py +++ b/tfw/components/fsm/fsm_handler.py @@ -5,7 +5,6 @@ from tfw.internals.networking import Scope from .fsm_updater import FSMUpdater - LOG = logging.getLogger(__name__) diff --git a/tfw/components/ide/file_manager/test_file_manager.py b/tfw/components/ide/file_manager/test_file_manager.py index 380da0a..8f978d3 100644 --- a/tfw/components/ide/file_manager/test_file_manager.py +++ b/tfw/components/ide/file_manager/test_file_manager.py @@ -1,5 +1,4 @@ # pylint: disable=redefined-outer-name - from dataclasses import dataclass from secrets import token_urlsafe from os.path import join @@ -11,6 +10,7 @@ import pytest from .file_manager import FileManager + @dataclass class ManagerContext: folder: str diff --git a/tfw/components/ide/ide_handler.py b/tfw/components/ide/ide_handler.py index 225b80c..7f09247 100644 --- a/tfw/components/ide/ide_handler.py +++ b/tfw/components/ide/ide_handler.py @@ -5,7 +5,6 @@ from tfw.internals.inotify import InotifyObserver from .file_manager import FileManager - LOG = logging.getLogger(__name__) BUILD_ARTIFACTS = ( diff --git a/tfw/components/pipe_io/pipe_io_handler.py b/tfw/components/pipe_io/pipe_io_handler.py index 4f6a850..115b508 100644 --- a/tfw/components/pipe_io/pipe_io_handler.py +++ b/tfw/components/pipe_io/pipe_io_handler.py @@ -12,7 +12,6 @@ from contextlib import suppress from .pipe_io_server import PipeIOServer, terminate_process_on_failure - LOG = logging.getLogger(__name__) DEFAULT_PERMISSIONS = 0o600 diff --git a/tfw/components/process_management/process_handler.py b/tfw/components/process_management/process_handler.py index 54928fd..becd28d 100644 --- a/tfw/components/process_management/process_handler.py +++ b/tfw/components/process_management/process_handler.py @@ -5,7 +5,6 @@ from tfw.internals.networking import Scope from .supervisor import ProcessManager, ProcessLogManager - LOG = logging.getLogger(__name__) diff --git a/tfw/components/process_management/process_log_handler.py b/tfw/components/process_management/process_log_handler.py index 4ee084a..a7ed020 100644 --- a/tfw/components/process_management/process_log_handler.py +++ b/tfw/components/process_management/process_log_handler.py @@ -2,7 +2,6 @@ import logging from .log_inotify_observer import LogInotifyObserver - LOG = logging.getLogger(__name__) diff --git a/tfw/components/snapshots/snapshot_handler.py b/tfw/components/snapshots/snapshot_handler.py index 2ca9d28..c60c720 100644 --- a/tfw/components/snapshots/snapshot_handler.py +++ b/tfw/components/snapshots/snapshot_handler.py @@ -10,7 +10,6 @@ from tfw.internals.networking import Scope from .snapshot_provider import SnapshotProvider - LOG = logging.getLogger(__name__) diff --git a/tfw/components/terminal/terminal_handler.py b/tfw/components/terminal/terminal_handler.py index 2cbdff4..a0a5f0c 100644 --- a/tfw/components/terminal/terminal_handler.py +++ b/tfw/components/terminal/terminal_handler.py @@ -3,7 +3,6 @@ import logging from .history_monitor import BashMonitor from .terminado_mini_server import TerminadoMiniServer - LOG = logging.getLogger(__name__) diff --git a/tfw/config/envvars.py b/tfw/config/envvars.py index 1e4c89a..dcf767d 100644 --- a/tfw/config/envvars.py +++ b/tfw/config/envvars.py @@ -1,5 +1,4 @@ from .lazy_environment import LazyEnvironment - TFWENV = LazyEnvironment('TFW_', 'tfwenvtuple').environment TAOENV = LazyEnvironment('AVATAO_', 'taoenvtuple').environment diff --git a/tfw/main/tfw_server.py b/tfw/main/tfw_server.py index 22d216f..4cc1c5e 100644 --- a/tfw/main/tfw_server.py +++ b/tfw/main/tfw_server.py @@ -6,7 +6,6 @@ from tfw.internals.networking import EventHandlerConnector from tfw.internals.server import ZMQWebSocketRouter from tfw.config import TFWENV - LOG = logging.getLogger(__name__)