Fix mypy violations

This commit is contained in:
Takeshi KOMIYA 2017-04-25 20:05:18 +09:00
parent 6c1c8948cb
commit 710ddb3880

View File

@ -41,7 +41,7 @@ try:
except ImportError:
try:
# for Debian-jessie
from urllib3.exceptions import InsecurePlatformWarning
from urllib3.exceptions import InsecurePlatformWarning # type: ignore
except ImportError:
# for requests < 2.4.0
InsecurePlatformWarning = None