Remove unused LOG to keep code clean
TrivialFix Change-Id: I2dde2430011a777bffc1f0d25886784c9ed04b68
This commit is contained in:
parent
c7d7145229
commit
14df0c7721
@ -17,11 +17,8 @@
|
|||||||
import abc
|
import abc
|
||||||
|
|
||||||
from os_brick import executor
|
from os_brick import executor
|
||||||
from oslo_log import log as logging
|
|
||||||
import six
|
import six
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
@six.add_metaclass(abc.ABCMeta)
|
@six.add_metaclass(abc.ABCMeta)
|
||||||
class VolumeEncryptor(executor.Executor):
|
class VolumeEncryptor(executor.Executor):
|
||||||
|
@ -15,10 +15,6 @@
|
|||||||
|
|
||||||
from os_brick.encryptors import base
|
from os_brick.encryptors import base
|
||||||
|
|
||||||
from oslo_log import log as logging
|
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
class NoOpEncryptor(base.VolumeEncryptor):
|
class NoOpEncryptor(base.VolumeEncryptor):
|
||||||
"""A VolumeEncryptor that does nothing.
|
"""A VolumeEncryptor that does nothing.
|
||||||
|
@ -17,15 +17,11 @@ Generic SheepDog Connection Utilities.
|
|||||||
import eventlet
|
import eventlet
|
||||||
import io
|
import io
|
||||||
from oslo_concurrency import processutils
|
from oslo_concurrency import processutils
|
||||||
from oslo_log import log as logging
|
|
||||||
|
|
||||||
from os_brick import exception
|
from os_brick import exception
|
||||||
from os_brick.i18n import _
|
from os_brick.i18n import _
|
||||||
|
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
class SheepdogVolumeIOWrapper(io.RawIOBase):
|
class SheepdogVolumeIOWrapper(io.RawIOBase):
|
||||||
"""File-like object with Sheepdog backend."""
|
"""File-like object with Sheepdog backend."""
|
||||||
|
|
||||||
|
@ -21,13 +21,9 @@ import testtools
|
|||||||
|
|
||||||
import fixtures
|
import fixtures
|
||||||
import mock
|
import mock
|
||||||
from oslo_log import log as oslo_logging
|
|
||||||
from oslo_utils import strutils
|
from oslo_utils import strutils
|
||||||
|
|
||||||
|
|
||||||
LOG = oslo_logging.getLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
class TestCase(testtools.TestCase):
|
class TestCase(testtools.TestCase):
|
||||||
|
|
||||||
"""Test case base class for all unit tests."""
|
"""Test case base class for all unit tests."""
|
||||||
|
@ -15,13 +15,10 @@
|
|||||||
import os.path
|
import os.path
|
||||||
|
|
||||||
import mock
|
import mock
|
||||||
from oslo_log import log as logging
|
|
||||||
|
|
||||||
from os_brick.initiator import linuxfc
|
from os_brick.initiator import linuxfc
|
||||||
from os_brick.tests import base
|
from os_brick.tests import base
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
class LinuxFCTestCase(base.TestCase):
|
class LinuxFCTestCase(base.TestCase):
|
||||||
|
|
||||||
|
@ -15,16 +15,12 @@
|
|||||||
import time
|
import time
|
||||||
|
|
||||||
import mock
|
import mock
|
||||||
from oslo_log import log as logging
|
|
||||||
|
|
||||||
from os_brick import exception
|
from os_brick import exception
|
||||||
from os_brick.tests import base
|
from os_brick.tests import base
|
||||||
from os_brick import utils
|
from os_brick import utils
|
||||||
|
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
class WrongException(exception.BrickException):
|
class WrongException(exception.BrickException):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user