From 82138245694b452341cc41638058adb3972a9926 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ionu=C8=9B=20Ar=C8=9B=C4=83ri=C8=99i?= Date: Thu, 16 Feb 2012 13:11:04 +0100 Subject: [PATCH] remove pep8 and strict lxml version from setup.py Change-Id: I671f3e924641cdfdfb5d20d0b0e3c77e1dc714e2 --- quantum/wsgi.py | 1 + setup.py | 3 +-- tools/pip-requires | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/quantum/wsgi.py b/quantum/wsgi.py index dfd1bd740..678391033 100644 --- a/quantum/wsgi.py +++ b/quantum/wsgi.py @@ -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) diff --git a/setup.py b/setup.py index 0bc8d6aaf..f294a3e57 100644 --- 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', diff --git a/tools/pip-requires b/tools/pip-requires index f13ef0d37..ac357fa72 100644 --- a/tools/pip-requires +++ b/tools/pip-requires @@ -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 -- 2.45.2