summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorBrian Waldon <brian.waldon@rackspace.com>2011-09-15 18:32:10 +0000
committerTarmac <>2011-09-15 18:32:10 +0000
commitf3a137800c6b236eb811da05c45ac26f8524eb67 (patch)
tree8b35de35962d91a30461d92f762d6b0e5069a8ca /nova/api
parentc3654d48f8278d96003bf1d7d3a4bcbe2354f0b5 (diff)
parent34a08d831418b934f4cceaae69dbf17d90ecd5e0 (diff)
Removing toprettyxml from OSAPI xml serialization in favor of toxml.
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/openstack/wsgi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/api/openstack/wsgi.py b/nova/api/openstack/wsgi.py
index fad516d4d..180f328b9 100644
--- a/nova/api/openstack/wsgi.py
+++ b/nova/api/openstack/wsgi.py
@@ -348,7 +348,7 @@ class XMLDictSerializer(DictSerializer):
def to_xml_string(self, node, has_atom=False):
self._add_xmlns(node, has_atom)
- return node.toprettyxml(indent=' ', encoding='UTF-8')
+ return node.toxml('UTF-8')
#NOTE (ameade): the has_atom should be removed after all of the
# xml serializers and view builders have been updated to the current