openstack-common: timeutils and importutils seperated out

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
This commit is contained in:
Angus Salkeld
2012-04-27 10:21:43 +10:00
parent a9a6906a6e
commit 1f141a6d04
12 changed files with 137 additions and 119 deletions

View File

@@ -19,7 +19,7 @@
import logging
from heat.openstack.common import cfg
from heat.openstack.common import utils
from heat.openstack.common import importutils
LOG = logging.getLogger(__name__)
@@ -192,7 +192,7 @@ def configure(conf):
LOG.debug(_("Configuring RPC %s") % conf.rpc_backend)
global _RPCIMPL
_RPCIMPL = utils.import_object(conf.rpc_backend)
_RPCIMPL = importutils.import_module(conf.rpc_backend)
def _get_impl():