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:
Zane Bitter 2012-12-07 15:38:51 +01:00
parent d7437715af
commit 0c8416537b
4 changed files with 3 additions and 4 deletions

View File

@ -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')

View File

@ -14,7 +14,7 @@
"""Database setup and migration commands."""
from heat import utils
from heat.db import utils
IMPL = utils.LazyPluggable('db_backend',

View File

@ -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