Merge "Remove unused import fallback"

This commit is contained in:
Zuul 2024-09-27 14:17:07 +00:00 committed by Gerrit Code Review
commit d6a48d9d2e

View File

@ -1,17 +1,13 @@
import base64
import datetime
import decimal
import xml.etree.ElementTree as et
from wsme.rest.xml import fromxml, toxml
import wsme.tests.protocol
from wsme.types import isarray, isdict, isusertype, register_type
from wsme.utils import parse_isodatetime, parse_isodate, parse_isotime
try:
import xml.etree.ElementTree as et
except ImportError:
import cElementTree as et # noqa
def dumpxml(key, obj, datatype=None):
el = et.Element(key)