]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
remove pep8 and strict lxml version from setup.py
authorIonuț Arțăriși <iartarisi@suse.cz>
Thu, 16 Feb 2012 12:11:04 +0000 (13:11 +0100)
committerIonuț Arțăriși <iartarisi@suse.cz>
Mon, 27 Feb 2012 11:56:22 +0000 (12:56 +0100)
Change-Id: I671f3e924641cdfdfb5d20d0b0e3c77e1dc714e2

quantum/wsgi.py
setup.py
tools/pip-requires

index dfd1bd7404ebdb4e9890d933043139888879e34f..678391033b4600971a1918ff4a9c968ebfb7bc36 100644 (file)
@@ -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)
 
 
index 0bc8d6aaf061a0af123d741b2fd2f39c012c2ae6..f294a3e57c3bb849c26d28167be20f79ab5dd58a 100644 (file)
--- a/setup.py
+++ b/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',
index f13ef0d37dae0481348234915e56d0384708e6b9..ac357fa72e76edff03882837472116354358115a 100644 (file)
@@ -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