1
0
Fork 0

Silence a mypy's stupid warning

This commit is contained in:
jvoisin 2018-07-08 17:12:17 +02:00
parent f9bc022c96
commit ca01484126
1 changed files with 2 additions and 2 deletions

View File

@ -6,9 +6,9 @@ import datetime
import zipfile
from typing import Dict, Set, Pattern
try: # protect against DoS
from defusedxml import ElementTree as ET
from defusedxml import ElementTree as ET # type: ignore
except ImportError:
import xml.etree.ElementTree as ET
import xml.etree.ElementTree as ET # type: ignore
from . import abstract, parser_factory