1
0
mirror of https://github.com/avatao-content/test-tutorial-framework synced 2025-07-14 00:26:24 +00:00

Harmonize code formatting style across project

This commit is contained in:
Kristóf Tóth
2018-06-04 21:56:59 +02:00
parent 60986fa51d
commit 12c95a198b
3 changed files with 33 additions and 15 deletions

View File

@ -2,7 +2,8 @@ from ast import literal_eval
from tornado.ioloop import IOLoop
from tfw.components import IdeEventHandler, TerminalEventHandler, ProcessManagingEventHandler, BashMonitor
from tfw.components import IdeEventHandler, TerminalEventHandler
from tfw.components import ProcessManagingEventHandler, BashMonitor
from tfw.components import TerminalCommands, LogMonitoringEventHandler
from tfw.networking import MessageSender, TFWServerConnector
from tfw.config import TFWENV
@ -54,8 +55,10 @@ class TestCommands(TerminalCommands):
This can speed up development when combined with mounting
volumes from host to container.
"""
seppuku = ('nohup sh -c "supervisorctl restart tfwserver event_handler_main" &> /dev/null & '
'clear && echo "Committed seppuku! :)" && sleep infinity')
seppuku = (
'nohup sh -c "supervisorctl restart tfwserver event_handler_main" &> /dev/null & '
'clear && echo "Committed seppuku! :)" && sleep infinity'
)
uplink = TFWServerConnector()
uplink.send_to_eventhandler({
'key': 'shell',