Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
Adding us-west-1 region to SDB and SQS modules.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mitch.Garnaat authored and Mitch.Garnaat committed Dec 5, 2009
1 parent 9bfe773 commit 56b5a5d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion boto/sdb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down
3 changes: 2 additions & 1 deletion boto/sqs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down

0 comments on commit 56b5a5d

Please sign in to comment.