Remove unused LOG

This is to remove unused LOG

Change-Id: I503198adf1cad1c4af9e0935c941eee5c2373991
This commit is contained in:
zhufl 2016-06-27 16:40:13 +08:00
parent a074c661e4
commit 99c11e526f
6 changed files with 0 additions and 18 deletions

View File

@ -13,15 +13,12 @@
# under the License. # under the License.
from migrate import UniqueConstraint from migrate import UniqueConstraint
from oslo_log import log as logging
from sqlalchemy import MetaData from sqlalchemy import MetaData
from sqlalchemy.sql import null from sqlalchemy.sql import null
from nova import exception from nova import exception
from nova.i18n import _ from nova.i18n import _
LOG = logging.getLogger(__name__)
UC_NAME = 'uniq_instances0uuid' UC_NAME = 'uniq_instances0uuid'

View File

@ -21,7 +21,6 @@ Scheduler base class that all Schedulers should inherit from
import abc import abc
from oslo_log import log as logging
import six import six
from stevedore import driver from stevedore import driver
@ -31,8 +30,6 @@ from nova import servicegroup
CONF = nova.conf.CONF CONF = nova.conf.CONF
LOG = logging.getLogger(__name__)
@six.add_metaclass(abc.ABCMeta) @six.add_metaclass(abc.ABCMeta)
class Scheduler(object): class Scheduler(object):

View File

@ -16,7 +16,6 @@
import mock import mock
import fixtures import fixtures
from oslo_log import log as logging
from nova.tests.functional.api import client from nova.tests.functional.api import client
from nova.tests.functional.test_servers import ServersTestBase from nova.tests.functional.test_servers import ServersTestBase
@ -25,9 +24,6 @@ from nova.tests.unit.virt.libvirt import fake_libvirt_utils
from nova.tests.unit.virt.libvirt import fakelibvirt from nova.tests.unit.virt.libvirt import fakelibvirt
LOG = logging.getLogger(__name__)
class NumaHostInfo(fakelibvirt.HostInfo): class NumaHostInfo(fakelibvirt.HostInfo):
def __init__(self, **kwargs): def __init__(self, **kwargs):
super(NumaHostInfo, self).__init__(**kwargs) super(NumaHostInfo, self).__init__(**kwargs)

View File

@ -26,7 +26,6 @@ helpers for populating up config object instances.
import time import time
from lxml import etree from lxml import etree
from oslo_log import log as logging
from oslo_utils import units from oslo_utils import units
import six import six
@ -36,8 +35,6 @@ from nova.pci import utils as pci_utils
from nova.virt import hardware from nova.virt import hardware
LOG = logging.getLogger(__name__)
# Namespace to use for Nova specific metadata items in XML # Namespace to use for Nova specific metadata items in XML
NOVA_NS = "http://openstack.org/xmlns/libvirt/nova/1.0" NOVA_NS = "http://openstack.org/xmlns/libvirt/nova/1.0"

View File

@ -16,14 +16,11 @@
"""Libvirt volume driver for DISCO.""" """Libvirt volume driver for DISCO."""
from os_brick.initiator import connector from os_brick.initiator import connector
from oslo_log import log as logging
import nova.conf import nova.conf
from nova import utils from nova import utils
from nova.virt.libvirt.volume import volume as libvirt_volume from nova.virt.libvirt.volume import volume as libvirt_volume
LOG = logging.getLogger(__name__)
CONF = nova.conf.CONF CONF = nova.conf.CONF

View File

@ -17,14 +17,12 @@
The VMware API utility module. The VMware API utility module.
""" """
from oslo_log import log as logging
from oslo_vmware import vim_util as vutil from oslo_vmware import vim_util as vutil
import six import six
import nova.conf import nova.conf
CONF = nova.conf.CONF CONF = nova.conf.CONF
LOG = logging.getLogger(__name__)
def object_to_dict(obj, list_depth=1): def object_to_dict(obj, list_depth=1):