| Index: third_party/boto/boto/ses/__init__.py
|
| ===================================================================
|
| --- third_party/boto/boto/ses/__init__.py (revision 33376)
|
| +++ third_party/boto/boto/ses/__init__.py (working copy)
|
| @@ -21,7 +21,7 @@
|
| # IN THE SOFTWARE.
|
|
|
| from connection import SESConnection
|
| -from boto.regioninfo import RegionInfo
|
| +from boto.regioninfo import RegionInfo, get_regions
|
|
|
|
|
| def regions():
|
| @@ -31,9 +31,7 @@
|
| :rtype: list
|
| :return: A list of :class:`boto.regioninfo.RegionInfo` instances
|
| """
|
| - return [RegionInfo(name='us-east-1',
|
| - endpoint='email.us-east-1.amazonaws.com',
|
| - connection_cls=SESConnection)]
|
| + return get_regions('ses', connection_cls=SESConnection)
|
|
|
|
|
| def connect_to_region(region_name, **kw_params):
|
|
|