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

Unified Diff: third_party/boto/boto/ec2/autoscale/policy.py

Issue 698893003: Update checked in version of gsutil to version 4.6 (Closed) Base URL: http://dart.googlecode.com/svn/third_party/gsutil/
Patch Set: Created 6 years, 1 month 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
Index: third_party/boto/boto/ec2/autoscale/policy.py
===================================================================
--- third_party/boto/boto/ec2/autoscale/policy.py (revision 33376)
+++ third_party/boto/boto/ec2/autoscale/policy.py (working copy)
@@ -47,16 +47,17 @@
class AdjustmentType(object):
def __init__(self, connection=None):
self.connection = connection
- self.adjustment_types = ListElement([])
+ self.adjustment_type = None
def __repr__(self):
- return 'AdjustmentType:%s' % self.adjustment_types
+ return 'AdjustmentType:%s' % self.adjustment_type
def startElement(self, name, attrs, connection):
- if name == 'AdjustmentType':
- return self.adjustment_types
+ return
def endElement(self, name, value, connection):
+ if name == 'AdjustmentType':
+ self.adjustment_type = value
return
« no previous file with comments | « third_party/boto/boto/ec2/autoscale/launchconfig.py ('k') | third_party/boto/boto/ec2/blockdevicemapping.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698