Cleanup db imports (use heat code, don't import nova modules)
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
This commit is contained in:
parent
4b6482c6a3
commit
90a67a7363
@ -16,7 +16,6 @@
|
||||
'''Implementation of SQLAlchemy backend.'''
|
||||
from sqlalchemy.orm.session import Session
|
||||
|
||||
from nova import utils
|
||||
from heat.db.sqlalchemy import models
|
||||
from heat.db.sqlalchemy.session import get_session
|
||||
|
||||
|
@ -22,7 +22,7 @@ from sqlalchemy.ext.declarative import declarative_base
|
||||
from sqlalchemy.schema import ForeignKeyConstraint
|
||||
from sqlalchemy import types as types
|
||||
from json import dumps, loads
|
||||
from nova import utils
|
||||
from heat.openstack.common import utils
|
||||
from heat.db.sqlalchemy.session import get_session
|
||||
|
||||
BASE = declarative_base()
|
||||
|
Loading…
x
Reference in New Issue
Block a user