From: Tyler Smith Date: Wed, 27 Jul 2011 14:33:09 +0000 (-0700) Subject: Resolving Bug 814517 which caused XML to have extra whitespace. X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=68a82b86224229a043e87d3a2d227a91fefb03e9;p=openstack-build%2Fneutron-build.git Resolving Bug 814517 which caused XML to have extra whitespace. --- diff --git a/quantum/common/wsgi.py b/quantum/common/wsgi.py index d883746ac..2ef67b797 100644 --- a/quantum/common/wsgi.py +++ b/quantum/common/wsgi.py @@ -482,7 +482,7 @@ class Serializer(object): if not xmlns and self.default_xmlns: node.setAttribute('xmlns', self.default_xmlns) - return node.toprettyxml(indent=' ') + return node.toprettyxml(indent='', newl='') def _to_xml_node(self, doc, metadata, nodename, data): """Recursive method to convert data members to XML nodes."""