diff options
| author | Brian Waldon <brian.waldon@rackspace.com> | 2011-09-14 12:32:00 -0400 |
|---|---|---|
| committer | Brian Waldon <brian.waldon@rackspace.com> | 2011-09-14 12:32:00 -0400 |
| commit | 34a08d831418b934f4cceaae69dbf17d90ecd5e0 (patch) | |
| tree | 110eeecdb4ba577775da8240aaf74508cc938359 /nova/api | |
| parent | b96d0af411163d295a96da277b7da2defce5f7f7 (diff) | |
removing toprettyxml
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/openstack/wsgi.py | 2 |
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 |
