You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
936 B
28 lines
936 B
Index: boto-2.9.6/boto/ec2/autoscale/policy.py
|
|
===================================================================
|
|
--- boto-2.9.6.orig/boto/ec2/autoscale/policy.py
|
|
+++ boto-2.9.6/boto/ec2/autoscale/policy.py
|
|
@@ -47,17 +47,17 @@ class Alarm(object):
|
|
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):
|
|
- return
|
|
+ if name == 'AdjustmentType':
|
|
+ return self.adjustment_types
|
|
|
|
|
|
class MetricCollectionTypes(object):
|