From b032da898305e801900eb78177e408e1b3beb6bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Sun, 28 Jul 2019 21:04:22 +0200 Subject: [PATCH] Use IOLoop.current() instead of deprecated instance() --- controller/opt/server.py | 2 +- solvable/src/event_handler_main.py | 2 +- solvable/src/pipe_io_main.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/controller/opt/server.py b/controller/opt/server.py index f2c1bb6..712c1df 100644 --- a/controller/opt/server.py +++ b/controller/opt/server.py @@ -34,4 +34,4 @@ if __name__ == '__main__': application.listen(os.environ['CONTROLLER_PORT']) setup_signal_handlers() - IOLoop.instance().start() + IOLoop.current().start() diff --git a/solvable/src/event_handler_main.py b/solvable/src/event_handler_main.py index 56bc57d..bc44e16 100644 --- a/solvable/src/event_handler_main.py +++ b/solvable/src/event_handler_main.py @@ -87,7 +87,7 @@ def main(): )) setup_signal_handlers() - IOLoop.instance().start() + IOLoop.current().start() if __name__ == '__main__': diff --git a/solvable/src/pipe_io_main.py b/solvable/src/pipe_io_main.py index 2aab217..f833418 100644 --- a/solvable/src/pipe_io_main.py +++ b/solvable/src/pipe_io_main.py @@ -26,7 +26,7 @@ def main(): )) setup_signal_handlers() - IOLoop.instance().start() + IOLoop.current().start() if __name__ == '__main__':