mirror of
https://github.com/avatao-content/test-tutorial-framework
synced 2025-07-07 06:36:23 +00:00
Simplify *main setup
This commit is contained in:
@ -21,12 +21,10 @@ def main():
|
||||
|
||||
eh_factory = EventHandlerFactory()
|
||||
|
||||
json_pipe = PipeIOEventHandler(
|
||||
json_pipe_eh = eh_factory.build(PipeIOEventHandler(
|
||||
'/tmp/tfw_send',
|
||||
'/tmp/tfw_recv'
|
||||
)
|
||||
json_pipe_eh = eh_factory.build(json_pipe)
|
||||
|
||||
))
|
||||
|
||||
setup_signal_handlers()
|
||||
IOLoop.instance().start()
|
||||
|
Reference in New Issue
Block a user