From 98271a37838b47e5a411186048d6247eb24ccbeb Mon Sep 17 00:00:00 2001 From: "R. Richard" Date: Mon, 8 Jul 2019 11:44:39 +0200 Subject: [PATCH] Remove dead code --- lib/tfw/components/terminado_mini_server.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/lib/tfw/components/terminado_mini_server.py b/lib/tfw/components/terminado_mini_server.py index b273f5b..dd43ced 100644 --- a/lib/tfw/components/terminado_mini_server.py +++ b/lib/tfw/components/terminado_mini_server.py @@ -1,11 +1,8 @@ import logging -from tornado.ioloop import IOLoop from tornado.web import Application from terminado import TermSocket, SingleTermManager -from tfw.config import TFWENV - LOG = logging.getLogger(__name__) @@ -45,14 +42,3 @@ class TerminadoMiniServer: def stop(self): self.term_manager.shutdown() - - -if __name__ == '__main__': - LOG.info('Terminado Mini Server listening on %s', TFWENV.TERMINADO_PORT) - TerminadoMiniServer( - '/terminal', - TFWENV.TERMINADO_PORT, - TFWENV.TERMINADO_WD, - ['bash'] - ).listen() - IOLoop.instance().start()