From 64960383e461244bd790a67b0231a24a16a0a54c Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Tue, 20 Nov 2018 19:08:14 -0800 Subject: [PATCH] mypy: Fix missing type annotation in tornado code. --- zerver/tornado/ioloop_logging.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zerver/tornado/ioloop_logging.py b/zerver/tornado/ioloop_logging.py index 0b1f13f94e..20c0c05d55 100644 --- a/zerver/tornado/ioloop_logging.py +++ b/zerver/tornado/ioloop_logging.py @@ -1,7 +1,7 @@ import logging import select import time -from typing import Any, List, Tuple +from typing import Any, Dict, List, Tuple from django.conf import settings from tornado.ioloop import IOLoop, PollIOLoop @@ -13,7 +13,7 @@ orig_poll_impl = select.epoll # This is used for a somewhat hacky way of passing the port number # into this early-initialized module. -logging_data = {} +logging_data = {} # type: Dict[str, str] class InstrumentedPollIOLoop(PollIOLoop): def initialize(self, **kwargs): # type: ignore # TODO investigate likely buggy monkey patching here