1
0
mirror of https://github.com/avatao-content/test-tutorial-framework synced 2024-11-14 21:57:17 +00:00

Fix pylint warnings

This commit is contained in:
R. Richard 2019-06-27 14:38:36 +02:00
parent 957f2c9477
commit 8335338a96

View File

@ -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',