Move xml.parsers.expat import for flake8
This commit is contained in:
parent
e4218c7612
commit
77db2ea8f4
|
@ -27,6 +27,7 @@ import timeit
|
||||||
import datetime
|
import datetime
|
||||||
import platform
|
import platform
|
||||||
import threading
|
import threading
|
||||||
|
import xml.parsers.expat
|
||||||
|
|
||||||
__version__ = '1.0.0'
|
__version__ = '1.0.0'
|
||||||
|
|
||||||
|
@ -65,7 +66,6 @@ except ImportError:
|
||||||
except ImportError:
|
except ImportError:
|
||||||
json = None
|
json = None
|
||||||
|
|
||||||
import xml.parsers.expat
|
|
||||||
try:
|
try:
|
||||||
import xml.etree.cElementTree as ET
|
import xml.etree.cElementTree as ET
|
||||||
except ImportError:
|
except ImportError:
|
||||||
|
|
Loading…
Reference in New Issue