Commit 88f2bab7 authored by Nicolas Delaby's avatar Nicolas Delaby

change deprecated use of lxml API

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29576 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9d98c11a
......@@ -146,7 +146,7 @@ class OOoBuilder(Implicit):
content_xml = self.extract(ooo_xml_file_id)
output = StringIO()
content_doc = etree.XML(content_xml)
root = content_doc.getroot()
root = content_doc.getroottree().getroot()
#Declare zope namespaces
NSMAP = {'tal': 'http://xml.zope.org/namespaces/tal',
'i18n': 'http://xml.zope.org/namespaces/i18n',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment