Silence a mypy's stupid warning
This commit is contained in:
parent
f9bc022c96
commit
ca01484126
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user