concurrent: Fix importability of tornado.wsgi on app engine
This commit is contained in:
parent
606f0b5e90
commit
6e8a137e68
|
@ -337,6 +337,7 @@ class Future(object):
|
|||
|
||||
def _set_done(self):
|
||||
self._done = True
|
||||
if self._callbacks:
|
||||
from tornado.ioloop import IOLoop
|
||||
loop = IOLoop.current()
|
||||
for cb in self._callbacks:
|
||||
|
|
Loading…
Reference in New Issue