Merge "Migrated to the new oslo.db enginefacade"

This commit is contained in:
Jenkins 2016-11-17 10:22:20 +00:00 committed by Gerrit Code Review
commit 2db8936c7d
1 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ import six
from oslo_config import cfg
from oslo_db import options
from oslo_db.sqlalchemy import session as db_session
from oslo_db.sqlalchemy import enginefacade
import osprofiler.sqlalchemy
import sqlalchemy as sa
@ -39,7 +39,7 @@ def _get_facade():
global _facade
if not _facade:
_facade = db_session.EngineFacade(
_facade = enginefacade.LegacyEngineFacade(
cfg.CONF.database.connection,
sqlite_fk=True,
autocommit=False,