Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1023)

Unified Diff: boto/ec2/spotpricehistory.py

Issue 8386013: Merging in latest boto. (Closed) Base URL: svn://svn.chromium.org/boto
Patch Set: Redoing vendor drop by deleting and then merging. Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « boto/ec2/snapshot.py ('k') | boto/ec2/volume.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: boto/ec2/spotpricehistory.py
diff --git a/boto/ec2/spotpricehistory.py b/boto/ec2/spotpricehistory.py
index d4e171102bd8b9b0f6b8a2a2f47a1c9e53bcc732..268d6b35a6c06adc25e45d93030f5ab0f1fc9c65 100644
--- a/boto/ec2/spotpricehistory.py
+++ b/boto/ec2/spotpricehistory.py
@@ -33,6 +33,7 @@ class SpotPriceHistory(EC2Object):
self.instance_type = None
self.product_description = None
self.timestamp = None
+ self.availability_zone = None
def __repr__(self):
return 'SpotPriceHistory(%s):%2f' % (self.instance_type, self.price)
@@ -46,6 +47,8 @@ class SpotPriceHistory(EC2Object):
self.product_description = value
elif name == 'timestamp':
self.timestamp = value
+ elif name == 'availabilityZone':
+ self.availability_zone = value
else:
setattr(self, name, value)
« no previous file with comments | « boto/ec2/snapshot.py ('k') | boto/ec2/volume.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698