Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Unified Diff: boto/sqs/__init__.py

Issue 8386013: Merging in latest boto. (Closed) Base URL: svn://svn.chromium.org/boto
Patch Set: Redoing vendor drop by deleting and then merging. Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « boto/sns/connection.py ('k') | boto/sqs/connection.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: boto/sqs/__init__.py
diff --git a/boto/sqs/__init__.py b/boto/sqs/__init__.py
index 463c42c5f5f06ce17777cd4b0da365a6d46caa0a..d5a9e4c9ef7c10f931393cd0403f2b003967757b 100644
--- a/boto/sqs/__init__.py
+++ b/boto/sqs/__init__.py
@@ -35,12 +35,14 @@ def regions():
endpoint='eu-west-1.queue.amazonaws.com'),
SQSRegionInfo(name='us-west-1',
endpoint='us-west-1.queue.amazonaws.com'),
+ SQSRegionInfo(name='ap-northeast-1',
+ endpoint='ap-northeast-1.queue.amazonaws.com'),
SQSRegionInfo(name='ap-southeast-1',
endpoint='ap-southeast-1.queue.amazonaws.com')
]
-def connect_to_region(region_name):
+def connect_to_region(region_name, **kw_params):
for region in regions():
if region.name == region_name:
- return region.connect()
+ return region.connect(**kw_params)
return None
« no previous file with comments | « boto/sns/connection.py ('k') | boto/sqs/connection.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698