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

Unified Diff: boto/ec2/cloudwatch/listelement.py

Issue 8386013: Merging in latest boto. (Closed) Base URL: svn://svn.chromium.org/boto
Patch Set: Redoing vendor drop by deleting and then merging. Created 9 years, 2 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 | « boto/ec2/cloudwatch/alarm.py ('k') | boto/ec2/cloudwatch/metric.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: boto/ec2/cloudwatch/listelement.py
diff --git a/boto/ses/__init__.py b/boto/ec2/cloudwatch/listelement.py
similarity index 79%
copy from boto/ses/__init__.py
copy to boto/ec2/cloudwatch/listelement.py
index 167080b9b33fd592ed2f0d264b9cf8f541cfbc41..5be45992a0e0ede39723b7787f3541a116f00386 100644
--- a/boto/ses/__init__.py
+++ b/boto/ec2/cloudwatch/listelement.py
@@ -1,5 +1,4 @@
-# Copyright (c) 2010 Mitch Garnaat http://garnaat.org/
-# Copyright (c) 2011 Harry Marr http://hmarr.com/
+# Copyright (c) 2006-2009 Mitch Garnaat http://garnaat.org/
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
@@ -20,5 +19,13 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.
-from connection import SESConnection
+class ListElement(list):
+ def startElement(self, name, attrs, connection):
+ pass
+
+ def endElement(self, name, value, connection):
+ if name == 'member':
+ self.append(value)
+
+
« no previous file with comments | « boto/ec2/cloudwatch/alarm.py ('k') | boto/ec2/cloudwatch/metric.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698