1
0
mirror of synced 2024-11-22 09:14:23 +01:00

Silence a mypy's stupid warning

This commit is contained in:
jvoisin 2018-07-08 17:12:17 +02:00
parent f9bc022c96
commit ca01484126

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