From 63a49be09e17a4f0955a00a417bbfb549dbfe37e Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Mon, 17 Oct 2016 17:57:41 -0700 Subject: [PATCH] event_queue: Import tornado.ioloop correctly. We actually use tornado.ioloop, not the root tornado module, and while the current code does work, it causes mypy errors with the incremental cache. --- zerver/lib/event_queue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zerver/lib/event_queue.py b/zerver/lib/event_queue.py index 0467d8d8b4..63853ec11b 100644 --- a/zerver/lib/event_queue.py +++ b/zerver/lib/event_queue.py @@ -15,8 +15,8 @@ import requests import atexit import sys import signal -import tornado import tornado.autoreload +import tornado.ioloop import random import traceback from zerver.models import UserProfile, Client