forked from openlp/openlp
Elementtree now from lxml
This commit is contained in:
parent
fc27f8107e
commit
3417d85a58
@ -39,9 +39,9 @@ The basic XML is of the format::
|
|||||||
|
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
from xml.dom.minidom import Document
|
from lxml.etree import ElementTree, XML, dump
|
||||||
from xml.etree.ElementTree import ElementTree, XML, dump
|
|
||||||
from xml.parsers.expat import ExpatError
|
from xml.parsers.expat import ExpatError
|
||||||
|
from xml.dom.minidom import Document
|
||||||
|
|
||||||
log = logging.getLogger(__name__)
|
log = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from xml.etree.ElementTree import ElementTree, XML
|
from lxml.etree import ElementTree, XML
|
||||||
|
|
||||||
sys.path.append(os.path.abspath(os.path.join(u'.', u'..', u'..')))
|
sys.path.append(os.path.abspath(os.path.join(u'.', u'..', u'..')))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user