Fix mypy violation

This commit is contained in:
Takeshi KOMIYA
2017-10-22 20:50:20 +09:00
parent cfadf17379
commit ad2610a0bc

View File

@@ -162,7 +162,7 @@ class WarningStream(object):
logger.warning(text.rstrip("\r\n"))
else:
location, type, level = matched.groups()
message = report_re.sub('', text).rstrip()
message = report_re.sub('', text).rstrip() # type: ignore
logger.log(type, message, location=location)