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) |
+ |
+ |