mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-22 15:31:32 +00:00
Remove depecrated ioloop.install() calls
This commit is contained in:
parent
785edd56b9
commit
ccb076c885
@ -1,12 +1,9 @@
|
|||||||
import zmq
|
import zmq
|
||||||
from zmq.eventloop import ioloop
|
|
||||||
from zmq.eventloop.zmqstream import ZMQStream
|
from zmq.eventloop.zmqstream import ZMQStream
|
||||||
|
|
||||||
from tfw.config import tfwenv
|
from tfw.config import tfwenv
|
||||||
from tfw.networking.zmq_connector_base import ZMQConnectorBase
|
from tfw.networking.zmq_connector_base import ZMQConnectorBase
|
||||||
|
|
||||||
ioloop.install()
|
|
||||||
|
|
||||||
|
|
||||||
class ControllerConnector(ZMQConnectorBase):
|
class ControllerConnector(ZMQConnectorBase):
|
||||||
def __init__(self, zmq_context=None):
|
def __init__(self, zmq_context=None):
|
||||||
|
@ -1,12 +1,9 @@
|
|||||||
import zmq
|
import zmq
|
||||||
from zmq.eventloop import ioloop
|
|
||||||
|
|
||||||
from tfw.config import tfwenv
|
from tfw.config import tfwenv
|
||||||
from tfw.networking.zmq_connector_base import ZMQConnectorBase
|
from tfw.networking.zmq_connector_base import ZMQConnectorBase
|
||||||
from tfw.networking.serialization import serialize_all, deserialize_all
|
from tfw.networking.serialization import serialize_all, deserialize_all
|
||||||
|
|
||||||
ioloop.install()
|
|
||||||
|
|
||||||
|
|
||||||
class SolvableConnector(ZMQConnectorBase):
|
class SolvableConnector(ZMQConnectorBase):
|
||||||
def __init__(self, zmq_context=None):
|
def __init__(self, zmq_context=None):
|
||||||
|
Loading…
Reference in New Issue
Block a user