From f5d0a525b20be9eb3b869a75cb3246e86e179b94 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Mon, 22 Jul 2019 23:35:53 +0300 Subject: [PATCH] Silence mypy error in AccessLogger.log (#3927) Not sure how to fix this properly, the logic is hard to follow --- aiohttp/web_log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiohttp/web_log.py b/aiohttp/web_log.py index 0f18a2b41b8..316fee2816f 100644 --- a/aiohttp/web_log.py +++ b/aiohttp/web_log.py @@ -228,7 +228,7 @@ def log(self, extra[key] = value else: k1, k2 = key - dct = extra.get(k1, {}) + dct = extra.get(k1, {}) # type: ignore dct[k2] = value # type: ignore extra[k1] = dct # type: ignore