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

Unified Diff: third_party/gsutil/boto/boto/ec2/spotpricehistory.py

Issue 10199002: Upgrade gsutil to 3.4 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed comments Created 8 years, 8 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 | « third_party/gsutil/boto/boto/ec2/spotinstancerequest.py ('k') | third_party/gsutil/boto/boto/ec2/tag.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/gsutil/boto/boto/ec2/spotpricehistory.py
diff --git a/third_party/gsutil/20110627/boto/boto/ec2/spotpricehistory.py b/third_party/gsutil/boto/boto/ec2/spotpricehistory.py
similarity index 94%
rename from third_party/gsutil/20110627/boto/boto/ec2/spotpricehistory.py
rename to third_party/gsutil/boto/boto/ec2/spotpricehistory.py
index d4e171102bd8b9b0f6b8a2a2f47a1c9e53bcc732..268d6b35a6c06adc25e45d93030f5ab0f1fc9c65 100644
--- a/third_party/gsutil/20110627/boto/boto/ec2/spotpricehistory.py
+++ b/third_party/gsutil/boto/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 | « third_party/gsutil/boto/boto/ec2/spotinstancerequest.py ('k') | third_party/gsutil/boto/boto/ec2/tag.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698