diff options
| author | Stanislaw Pitucha <stanislaw.pitucha@hp.com> | 2013-04-10 13:26:12 +0000 |
|---|---|---|
| committer | Stanislaw Pitucha <stanislaw.pitucha@hp.com> | 2013-04-10 13:26:12 +0000 |
| commit | 17ba935d9da2ff912196bb47f6856fb64db13247 (patch) | |
| tree | f55579924661c2413b374f4f0aaaddea8a9574e5 /nova/cells | |
| parent | a993b2b969bad0785aad02dc2a6f04ac0c675f8d (diff) | |
| download | nova-17ba935d9da2ff912196bb47f6856fb64db13247.tar.gz nova-17ba935d9da2ff912196bb47f6856fb64db13247.tar.xz nova-17ba935d9da2ff912196bb47f6856fb64db13247.zip | |
Remove unnecessary LOG initialisation
Remove a lot of getLogger lines and imports of logging in modules
which never use that functionality.
Change-Id: Icdaee2c540980412b000d02ebf1ec568dcf5b38a
Diffstat (limited to 'nova/cells')
| -rw-r--r-- | nova/cells/manager.py | 3 | ||||
| -rw-r--r-- | nova/cells/rpcapi.py | 2 |
2 files changed, 0 insertions, 5 deletions
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') |
