Cleanup the default region backends.

This commit is contained in:
Steve Pulec 2014-11-15 14:21:58 -05:00
commit 1f8253a1a1
12 changed files with 17 additions and 18 deletions

View file

@ -1,7 +1,9 @@
from __future__ import unicode_literals
from .models import sqs_backends, sqs_backend # flake8: noqa
from .models import sqs_backends
from ..core.models import MockAWS
sqs_backend = sqs_backends['us-east-1']
def mock_sqs(func=None):
if func:

View file

@ -277,5 +277,3 @@ class SQSBackend(BaseBackend):
sqs_backends = {}
for region in boto.sqs.regions():
sqs_backends[region.name] = SQSBackend()
sqs_backend = sqs_backends['us-east-1']