summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorBrian Waldon <brian.waldon@rackspace.com>2011-09-14 12:32:00 -0400
committerBrian Waldon <brian.waldon@rackspace.com>2011-09-14 12:32:00 -0400
commit34a08d831418b934f4cceaae69dbf17d90ecd5e0 (patch)
tree110eeecdb4ba577775da8240aaf74508cc938359 /nova/api
parentb96d0af411163d295a96da277b7da2defce5f7f7 (diff)
removing toprettyxml
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 bdcadcb99..588fc030b 100644
--- a/nova/api/openstack/wsgi.py
+++ b/nova/api/openstack/wsgi.py
@@ -316,7 +316,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