~ubuntu-branches/ubuntu/vivid/euca2ools/vivid-proposed

« back to all changes in this revision

Viewing changes to bin/euca-describe-volumes

  • Committer: Bazaar Package Importer
  • Author(s): Charles Plessy
  • Date: 2010-03-06 15:07:05 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100306150705-j0ya0zt1cb3rlmt0
Tags: 1.2-1
* New upstream release.
* Package maintained in the pkg-eucalyptus Alioth project:
  - pkg-eucalyptus-maintainers@lists.alioth.debian.org is maintainer.
  - Moved Chris and added Dustin as uploaders.
  - Added pointers to the Subversion repository of pkg-eucalyptus.
* Added a debian/watch file.
* Manpages:
  - Produce fresh manpages with help2man, but in a temporary place. This
    avoids to increase the diff with the original sources (debian/rules).
  - Build-depend on help2man, python-boto and python-m2crypto.
  - Deleted README.source, which is not needed anymore.
* Incremented Standards-Version to reflect conformance with Poliyc 3.8.4
  (debian/control, no changes needed).

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
            volume_string += '\t%s' % (volume.snapshot_id)
74
74
        else:
75
75
            volume_string += '\t'
76
 
        if volume.availabilityZone:
77
 
            volume_string += '\t%s' % volume.availabilityZone
 
76
        
 
77
        az = getattr(volume, 'availabilityZone', object)
 
78
        if az is object: az=volume.zone
 
79
        if az: volume_string += '\t%s' % az
 
80
 
78
81
        volume_string += '\t%s\t%s' % (volume.status, volume.create_time)
79
82
        print 'VOLUME\t%s' % (volume_string)
80
83
        if volume.status == 'in-use':