Permalink
Browse files

Fixing a couple of region references. Closes #449.

  • Loading branch information...
garnaat committed Dec 29, 2011
1 parent 1fc9ad1 commit e5cee585a50da238152a3d0af2ab217282ed0206
Showing with 6 additions and 4 deletions.
  1. +3 −1 boto/s3/bucket.py
  2. +3 −3 boto/sqs/__init__.py
View
@@ -47,8 +47,10 @@
class S3WebsiteEndpointTranslate:
trans_region = defaultdict(lambda :'s3-website-us-east-1')
- trans_region['EU'] = 's3-website-eu-west-1'
+ trans_region['eu-west-1'] = 's3-website-eu-west-1'
trans_region['us-west-1'] = 's3-website-us-west-1'
+ trans_region['us-west-2'] = 's3-website-us-west-2'
+ trans_region['sa-east-1'] = 's3-website-sa-east-1'
trans_region['ap-northeast-1'] = 's3-website-ap-northeast-1'
trans_region['ap-southeast-1'] = 's3-website-ap-southeast-1'
View
@@ -1,4 +1,4 @@
-# Copyright (c) 2006,2007 Mitch Garnaat http://garnaat.org/
+# Copyright (c) 2006-2011 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
@@ -37,8 +37,8 @@ def regions():
endpoint='us-west-1.queue.amazonaws.com'),
SQSRegionInfo(name='us-west-2',
endpoint='us-west-2.queue.amazonaws.com'),
- SQSRegionInfo(name='sa-east-2',
- endpoint='sa-east-2.queue.amazonaws.com'),
+ SQSRegionInfo(name='sa-east-1',
+ endpoint='sa-east-1.queue.amazonaws.com'),
SQSRegionInfo(name='ap-northeast-1',
endpoint='ap-northeast-1.queue.amazonaws.com'),
SQSRegionInfo(name='ap-southeast-1',

0 comments on commit e5cee58

Please sign in to comment.