Forgotten in the previous change to fix this as well

Change-Id: If0edf73c7e35528f0f128ae8c0851f0519af49b7
This commit is contained in:
Endre Karlson 2013-06-25 22:14:08 +02:00
parent 938bc4e11e
commit c8cb196bfe
1 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ from stevedore.extension import ExtensionManager
from billingstack import exceptions
from billingstack.openstack.common import log
from billingstack.payment_gateway.base import Provider
from billingstack.central.storage import get_connection
from billingstack.storage.utils import get_connection
LOG = log.getLogger(__name__)
@ -47,7 +47,7 @@ def _register(ep, context, conn):
def register_providers(context):
conn = get_connection()
conn = get_connection('central')
em = ExtensionManager(Provider.__plugin_ns__)
em.map(_register, context, conn)