~tribaal/txaws/xss-hardening

« back to all changes in this revision

Viewing changes to txaws/ec2/model.py

  • Committer: Duncan McGreggor
  • Date: 2009-10-05 23:51:09 UTC
  • mto: This revision was merged to the branch mainline in revision 35.
  • Revision ID: duncan@canonical.com-20091005235109-0ek9b66tvdz2b3ww
Added a model for 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