From 8335338a9648a2c066f4f59534547f4fa6001a68 Mon Sep 17 00:00:00 2001 From: "R. Richard" Date: Thu, 27 Jun 2019 14:38:36 +0200 Subject: [PATCH] Fix pylint warnings --- solvable/src/event_handler_main.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/solvable/src/event_handler_main.py b/solvable/src/event_handler_main.py index ef48f53..724e940 100644 --- a/solvable/src/event_handler_main.py +++ b/solvable/src/event_handler_main.py @@ -10,11 +10,11 @@ from tfw.event_handlers import EventHandlerBase, FSMAwareEventHandler, TFWServer from tfw.builtins import FrontendEventHandler from tfw.builtins import IdeEventHandler, TerminalEventHandler from tfw.builtins import LogMonitoringEventHandler, ProcessManagingEventHandler -from tfw.builtins import DirectorySnapshottingEventHandler, FSMManagingEventHandler -from tfw.components import BashMonitor, MessageSender, TerminalCommands +from tfw.builtins import DirectorySnapshottingEventHandler, FSMManagingEventHandler, MessageSender +from tfw.components import TerminalCommands from tfw.config import TFWENV -from tao.config import TAOENV from tfw.config.log import TFWLog +from tao.config import TAOENV LOG = logging.getLogger(__name__) @@ -133,8 +133,7 @@ def main(): exclude=['*.pyc'] ) terminal = TerminalEventHandler( # Web shell backend - key='shell', - monitor=BashMonitor(TFWENV.HISTFILE) + key='shell' ) commands = TerminalCallbackEventHandler( # Reacts to terminal commands 'history.bash',