summaryrefslogtreecommitdiff
path: root/boto/cloudformation/stack.py
diff options
context:
space:
mode:
Diffstat (limited to 'boto/cloudformation/stack.py')
-rwxr-xr-x[-rw-r--r--]boto/cloudformation/stack.py13
1 files changed, 8 insertions, 5 deletions
diff --git a/boto/cloudformation/stack.py b/boto/cloudformation/stack.py
index 5d35e891..c173de66 100644..100755
--- a/boto/cloudformation/stack.py
+++ b/boto/cloudformation/stack.py
@@ -48,7 +48,10 @@ class Stack(object):
elif name == "Description":
self.description = value
elif name == "DisableRollback":
- self.disable_rollback = bool(value)
+ if str(value).lower() == 'true':
+ self.disable_rollback = True
+ else:
+ self.disable_rollback = False
elif name == 'StackId':
self.stack_id = value
elif name == 'StackName':
@@ -292,7 +295,7 @@ class StackResource(object):
class StackResourceSummary(object):
def __init__(self, connection=None):
self.connection = connection
- self.last_updated_timestamp = None
+ self.last_updated_time = None
self.logical_resource_id = None
self.physical_resource_id = None
self.resource_status = None
@@ -303,14 +306,14 @@ class StackResourceSummary(object):
return None
def endElement(self, name, value, connection):
- if name == "LastUpdatedTimestamp":
+ if name == "LastUpdatedTime":
try:
- self.last_updated_timestamp = datetime.strptime(
+ self.last_updated_time = datetime.strptime(
value,
'%Y-%m-%dT%H:%M:%SZ'
)
except ValueError:
- self.last_updated_timestamp = datetime.strptime(
+ self.last_updated_time = datetime.strptime(
value,
'%Y-%m-%dT%H:%M:%S.%fZ'
)