summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Meade <alex.meade@rackspace.com>2011-07-07 14:09:23 -0400
committerAlex Meade <alex.meade@rackspace.com>2011-07-07 14:09:23 -0400
commit14ee32f07536f5686794d2dbe8f1fad159af4dfe (patch)
tree051818f2637be4f411290e9295607e9775914654
parent49683f2f84a9eb4436c63465d11ae8f451265eae (diff)
Dried up images XML serialization
-rw-r--r--nova/api/openstack/images.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/nova/api/openstack/images.py b/nova/api/openstack/images.py
index bc7517c40..c540037fa 100644
--- a/nova/api/openstack/images.py
+++ b/nova/api/openstack/images.py
@@ -322,17 +322,6 @@ class ImageXMLSerializer(wsgi.XMLDictSerializer):
container_node.appendChild(item_node)
return container_node
- def _image_to_xml_string(self, image, detailed):
- xml_doc = minidom.Document()
- if detailed:
- image_to_xml = self._image_to_xml_detailed
- else:
- image_to_xml = self._image_to_xml
- item_node = image_to_xml(xml_doc, image)
- self._add_xmlns(item_node)
- self._add_atom_xmlns(item_node)
- return item_node.toprettyxml(indent=' ', encoding='UTF-8')
-
def index(self, images_dict):
xml_doc = minidom.Document()
node = self._image_list_to_xml(xml_doc,