Fix mypy violation

This commit is contained in:
Takeshi KOMIYA
2017-12-12 23:28:30 +09:00
parent 38b5dff206
commit d4243a10fe

View File

@@ -84,7 +84,7 @@ def convert_serializable(records):
location = getattr(r, 'location', None)
if isinstance(location, nodes.Node):
r.location = get_node_location(location)
r.location = get_node_location(location) # type: ignore
class SphinxWarningLogRecord(logging.LogRecord):