Move utils.py to a more appropriate location
It's only used by the database code. Change-Id: Icd81fdb950b84bcbd365dd80f701a4992f695ea7 Signed-off-by: Zane Bitter <zbitter@redhat.com>
This commit is contained in:
parent
d7437715af
commit
0c8416537b
@ -25,7 +25,7 @@ Usage:
|
||||
The underlying driver is loaded . SQLAlchemy is currently the only
|
||||
supported backend.
|
||||
'''
|
||||
import heat.utils
|
||||
from heat.db import utils
|
||||
from heat.openstack.common import cfg
|
||||
|
||||
|
||||
@ -37,7 +37,7 @@ db_opts = [
|
||||
help='The backend to use for db'),
|
||||
]
|
||||
|
||||
IMPL = heat.utils.LazyPluggable('db_backend',
|
||||
IMPL = utils.LazyPluggable('db_backend',
|
||||
sqlalchemy='heat.db.sqlalchemy.api')
|
||||
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
"""Database setup and migration commands."""
|
||||
|
||||
from heat import utils
|
||||
from heat.db import utils
|
||||
|
||||
|
||||
IMPL = utils.LazyPluggable('db_backend',
|
||||
|
@ -40,7 +40,6 @@ except ImportError:
|
||||
from glance import client as glance_client
|
||||
from novaclient.v1_1 import client as nova_client
|
||||
import heat
|
||||
from heat import utils
|
||||
from heat.common import template_format
|
||||
from heat.engine import parser
|
||||
from heat import client as heat_client
|
||||
|
Loading…
Reference in New Issue
Block a user