summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorAlex Meade <alex.meade@rackspace.com>2011-07-12 13:29:26 -0400
committerAlex Meade <alex.meade@rackspace.com>2011-07-12 13:29:26 -0400
commit7a700362d63de1da51e9a890d854c3b0eeb97aae (patch)
treef4cb7271590242a69924b20c84575a030046a83f /nova/api
parentf4dc32ad0729b40ebe5765a57edff9535b992953 (diff)
minor cleanup
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/openstack/wsgi.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/nova/api/openstack/wsgi.py b/nova/api/openstack/wsgi.py
index 4e4ce4121..c3f841aa5 100644
--- a/nova/api/openstack/wsgi.py
+++ b/nova/api/openstack/wsgi.py
@@ -277,7 +277,9 @@ class XMLDictSerializer(DictSerializer):
return node.toprettyxml(indent=' ', encoding='UTF-8')
#NOTE (ameade): the has_atom should be removed after all of the
- # xml serializers and view builders have been updated
+ # xml serializers and view builders have been updated to the current
+ # spec that required all responses include the xmlns:atom, the has_atom
+ # flag is to prevent current tests from breaking
def _add_xmlns(self, node, has_atom=False):
if self.xmlns is not None:
node.setAttribute('xmlns', self.xmlns)