~tribaal/txaws/xss-hardening

« back to all changes in this revision

Viewing changes to txaws/ec2/model.py

  • Committer: Duncan McGreggor
  • Date: 2009-10-06 18:34:35 UTC
  • mfrom: (33.1.5 444124-describe-zones)
  • Revision ID: duncan@canonical.com-20091006183435-el9j4wdv2229l63f
Merged 444124-describe-zones [r=therve] [f=444124]

Added support for getting a list of availability zones.

Show diffs side-by-side

added added

removed removed

Lines of Context:
142
142
        self.name = name
143
143
        self.fingerprint = fingerprint
144
144
        self.material = material
 
145
 
 
146
 
 
147
class AvailabilityZone(object):
 
148
    """A convenience object for holding availability zone data."""
 
149
 
 
150
    def __init__(self, name, state):
 
151
        self.name = name
 
152
        self.state = state