Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sphinx-doc/sphinx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2019-01-17 17:45:30 +0300
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2019-01-17 17:45:30 +0300
commitc8c82d7cefa8b6e8b5694484f2c1222a775618b0 (patch)
treedfea70e3b9a04fa5a05006d77c90eb7272d15a6d /sphinx/util/logging.py
parent06da488f6f0b35e5a3dda140074e1fa23a3187ff (diff)
Fix mypy violations
Diffstat (limited to 'sphinx/util/logging.py')
-rw-r--r--sphinx/util/logging.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/util/logging.py b/sphinx/util/logging.py
index d84535042..33b66f9c1 100644
--- a/sphinx/util/logging.py
+++ b/sphinx/util/logging.py
@@ -124,7 +124,7 @@ class SphinxWarningLogRecord(SphinxLogRecord):
class SphinxLoggerAdapter(logging.LoggerAdapter):
"""LoggerAdapter allowing ``type`` and ``subtype`` keywords."""
- def log(self, level, msg, *args, **kwargs): # type: ignore
+ def log(self, level, msg, *args, **kwargs):
# type: (Union[int, str], unicode, Any, Any) -> None
if isinstance(level, int):
super(SphinxLoggerAdapter, self).log(level, msg, *args, **kwargs)