Elementtree now from lxml

This commit is contained in:
Martin Thompson 2010-06-15 22:26:35 +01:00
parent fc27f8107e
commit 3417d85a58
2 changed files with 3 additions and 3 deletions

View File

@ -39,9 +39,9 @@ The basic XML is of the format::
import logging
from xml.dom.minidom import Document
from xml.etree.ElementTree import ElementTree, XML, dump
from lxml.etree import ElementTree, XML, dump
from xml.parsers.expat import ExpatError
from xml.dom.minidom import Document
log = logging.getLogger(__name__)

View File

@ -26,7 +26,7 @@
import os
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'..')))