Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix reserved instance missing 'start' attribute. #1113

Merged
merged 1 commit into from Nov 14, 2012
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions boto/ec2/reservedinstance.py
Expand Up @@ -128,6 +128,7 @@ def __init__(self, connection=None, id=None, instance_type=None,
usage_price, description)
self.instance_count = instance_count
self.state = state
self.start = None

def __repr__(self):
return 'ReservedInstance:%s' % self.id
Expand All @@ -139,6 +140,8 @@ def endElement(self, name, value, connection):
self.instance_count = int(value)
elif name == 'state':
self.state = value
elif name == 'start':
self.start = value
else:
ReservedInstancesOffering.endElement(self, name, value, connection)

Expand Down