~rackspace-ozone/rackspace-nova/development

« back to all changes in this revision

Viewing changes to nova/api/openstack/images.py

  • Committer: paul at openstack
  • Date: 2011-09-26 18:57:03 UTC
  • mfrom: (1098.1.519 nova)
  • Revision ID: paul@openstack.org-20110926185703-ad3bthrj309itbrw
merging Diablo

Show diffs side-by-side

added added

removed removed

Lines of Context:
251
251
            elem = etree.SubElement(image_elem,
252
252
                                    '{%s}link' % xmlutil.XMLNS_ATOM)
253
253
            elem.set('rel', link['rel'])
 
254
            if 'type' in link:
 
255
                elem.set('type', link['type'])
254
256
            elem.set('href', link['href'])
255
257
        return image_elem
256
258