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

Unified Diff: third_party/boto/boto/cloudformation/template.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
« no previous file with comments | « third_party/boto/boto/cloudformation/stack.py ('k') | third_party/boto/boto/cloudfront/__init__.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/boto/boto/cloudformation/template.py
===================================================================
--- third_party/boto/boto/cloudformation/template.py (revision 33376)
+++ third_party/boto/boto/cloudformation/template.py (working copy)
@@ -1,21 +1,29 @@
from boto.resultset import ResultSet
+from boto.cloudformation.stack import Capability
class Template(object):
def __init__(self, connection=None):
self.connection = connection
self.description = None
self.template_parameters = None
+ self.capabilities_reason = None
+ self.capabilities = None
def startElement(self, name, attrs, connection):
if name == "Parameters":
self.template_parameters = ResultSet([('member', TemplateParameter)])
return self.template_parameters
+ elif name == "Capabilities":
+ self.capabilities = ResultSet([('member', Capability)])
+ return self.capabilities
else:
return None
def endElement(self, name, value, connection):
if name == "Description":
self.description = value
+ elif name == "CapabilitiesReason":
+ self.capabilities_reason = value
else:
setattr(self, name, value)
« no previous file with comments | « third_party/boto/boto/cloudformation/stack.py ('k') | third_party/boto/boto/cloudfront/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698