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 elb_backends, elb_backend # flake8: noqa
from .models import elb_backends
from ..core.models import MockAWS
elb_backend = elb_backends['us-east-1']
def mock_elb(func=None):
if func:

View file

@ -155,5 +155,3 @@ class ELBBackend(BaseBackend):
elb_backends = {}
for region in boto.ec2.elb.regions():
elb_backends[region.name] = ELBBackend()
elb_backend = elb_backends['us-east-1']