remove pep8 and strict lxml version from setup.py
Change-Id: I671f3e924641cdfdfb5d20d0b0e3c77e1dc714e2
This commit is contained in:
parent
a5f97ccc3b
commit
8213824569
@ -284,6 +284,7 @@ class XMLDictSerializer(DictSerializer):
|
||||
|
||||
def _to_xml(self, root):
|
||||
"""Convert the xml object to an xml string."""
|
||||
# we use lxml here instead of xml.minidom for performance reasons
|
||||
return etree.tostring(root, encoding='UTF-8', xml_declaration=True)
|
||||
|
||||
|
||||
|
3
setup.py
3
setup.py
@ -50,8 +50,7 @@ requires = [
|
||||
'PasteDeploy',
|
||||
'Routes>=1.12.3',
|
||||
'eventlet>=0.9.12',
|
||||
'lxml==2.3',
|
||||
'pep8>=0.6.1',
|
||||
'lxml',
|
||||
'python-gflags',
|
||||
'simplejson',
|
||||
'sqlalchemy',
|
||||
|
@ -2,7 +2,7 @@ Paste
|
||||
PasteDeploy==1.5.0
|
||||
Routes>=1.12.3
|
||||
eventlet>=0.9.12
|
||||
lxml==2.3
|
||||
lxml
|
||||
mox==0.5.3
|
||||
python-gflags==1.3
|
||||
simplejson
|
||||
|
Loading…
Reference in New Issue
Block a user