From 17ba935d9da2ff912196bb47f6856fb64db13247 Mon Sep 17 00:00:00 2001 From: Stanislaw Pitucha Date: Wed, 10 Apr 2013 13:26:12 +0000 Subject: Remove unnecessary LOG initialisation Remove a lot of getLogger lines and imports of logging in modules which never use that functionality. Change-Id: Icdaee2c540980412b000d02ebf1ec568dcf5b38a --- nova/cells/manager.py | 3 --- nova/cells/rpcapi.py | 2 -- 2 files changed, 5 deletions(-) (limited to 'nova/cells') diff --git a/nova/cells/manager.py b/nova/cells/manager.py index 04fabab54..51d2f7cac 100644 --- a/nova/cells/manager.py +++ b/nova/cells/manager.py @@ -28,7 +28,6 @@ from nova import context from nova import exception from nova import manager from nova.openstack.common import importutils -from nova.openstack.common import log as logging from nova.openstack.common import timeutils cell_manager_opts = [ @@ -45,8 +44,6 @@ cell_manager_opts = [ ] -LOG = logging.getLogger(__name__) - CONF = cfg.CONF CONF.register_opts(cell_manager_opts, group='cells') diff --git a/nova/cells/rpcapi.py b/nova/cells/rpcapi.py index 616dc0ec3..ca6e23fb1 100644 --- a/nova/cells/rpcapi.py +++ b/nova/cells/rpcapi.py @@ -26,10 +26,8 @@ from oslo.config import cfg from nova import exception from nova.openstack.common import jsonutils -from nova.openstack.common import log as logging from nova.openstack.common.rpc import proxy as rpc_proxy -LOG = logging.getLogger(__name__) CONF = cfg.CONF CONF.import_opt('enable', 'nova.cells.opts', group='cells') -- cgit