Show More
@@ -32,7 +32,13 b' import zmq' | |||
|
32 | 32 | # Install the pyzmq ioloop. This has to be done before anything else from |
|
33 | 33 | # tornado is imported. |
|
34 | 34 | from zmq.eventloop import ioloop |
|
35 | # FIXME: ioloop.install is new in pyzmq-2.1.7, so remove this conditional | |
|
36 | # when pyzmq dependency is updated beyond that. | |
|
37 | if hasattr(ioloop, 'install'): | |
|
35 | 38 | ioloop.install() |
|
39 | else: | |
|
40 | import tornado.ioloop | |
|
41 | tornado.ioloop.IOLoop = ioloop.IOLoop | |
|
36 | 42 | |
|
37 | 43 | from tornado import httpserver |
|
38 | 44 | from tornado import web |
General Comments 0
You need to be logged in to leave comments.
Login now