Permalink
Browse files

Adding us-west-1 region to SDB and SQS modules.

  • Loading branch information...
1 parent 9bfe773 commit 56b5a5d747f5e4e220c3e62ac8e7de8c4df54fc5 Mitch.Garnaat committed Dec 5, 2009
Showing with 4 additions and 2 deletions.
  1. +2 −1 boto/sdb/__init__.py
  2. +2 −1 boto/sqs/__init__.py
View
@@ -31,7 +31,8 @@ def regions():
:return: A list of :class:`boto.sdb.regioninfo.RegionInfo`
"""
return [SDBRegionInfo(name='us-east-1', endpoint='sdb.amazonaws.com'),
- SDBRegionInfo(name='eu-west-1', endpoint='sdb.eu-west-1.amazonaws.com')]
+ SDBRegionInfo(name='eu-west-1', endpoint='sdb.eu-west-1.amazonaws.com'),
+ SDBRegionInfo(name='us-west-1', endpoint='sdb.us-west-1.amazonaws.com')]
def connect_to_region(region_name):
for region in regions():
View
@@ -36,7 +36,8 @@ def regions():
:return: A list of :class:`boto.ec2.regioninfo.RegionInfo`
"""
return [SQSRegionInfo(name='us-east-1', endpoint='queue.amazonaws.com'),
- SQSRegionInfo(name='eu-west-1', endpoint='eu-west-1.queue.amazonaws.com')]
+ SQSRegionInfo(name='eu-west-1', endpoint='eu-west-1.queue.amazonaws.com'),
+ SQSRegionInfo(name='us-west-1', endpoint='us-west-1.queue.amazonaws.com')]
def connect_to_region(region_name):
for region in regions():

0 comments on commit 56b5a5d

Please sign in to comment.