Remove useless logging import statements

TrivialFix

Change-Id: I0bcefbe144903b45d71e053162066d6d4bc91936
This commit is contained in:
ChangBo Guo(gcb) 2016-11-07 17:19:44 +08:00
parent 9dcd9b78be
commit 0b075aa40a
10 changed files with 0 additions and 27 deletions

View File

@ -12,7 +12,6 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
import logging
import os import os
import threading import threading
@ -28,7 +27,6 @@ from oslo_messaging._i18n import _LE
RPCException = rpc_common.RPCException RPCException = rpc_common.RPCException
LOG = logging.getLogger(__name__)
class LazyDriverItem(object): class LazyDriverItem(object):

View File

@ -12,8 +12,6 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
import logging
from oslo_messaging._drivers.zmq_driver.client.publishers.dealer \ from oslo_messaging._drivers.zmq_driver.client.publishers.dealer \
import zmq_dealer_publisher_base import zmq_dealer_publisher_base
from oslo_messaging._drivers.zmq_driver.client import zmq_receivers from oslo_messaging._drivers.zmq_driver.client import zmq_receivers
@ -22,7 +20,6 @@ from oslo_messaging._drivers.zmq_driver.client import zmq_senders
from oslo_messaging._drivers.zmq_driver import zmq_async from oslo_messaging._drivers.zmq_driver import zmq_async
from oslo_messaging._drivers.zmq_driver import zmq_names from oslo_messaging._drivers.zmq_driver import zmq_names
LOG = logging.getLogger(__name__)
zmq = zmq_async.import_zmq() zmq = zmq_async.import_zmq()

View File

@ -12,7 +12,6 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
import logging
import random import random
import uuid import uuid
@ -29,7 +28,6 @@ from oslo_messaging._drivers.zmq_driver import zmq_async
from oslo_messaging._drivers.zmq_driver import zmq_names from oslo_messaging._drivers.zmq_driver import zmq_names
from oslo_messaging._drivers.zmq_driver import zmq_updater from oslo_messaging._drivers.zmq_driver import zmq_updater
LOG = logging.getLogger(__name__)
zmq = zmq_async.import_zmq() zmq = zmq_async.import_zmq()

View File

@ -13,14 +13,12 @@
# under the License. # under the License.
import abc import abc
import logging
import six import six
import oslo_messaging import oslo_messaging
from oslo_messaging._drivers.zmq_driver import zmq_async from oslo_messaging._drivers.zmq_driver import zmq_async
LOG = logging.getLogger(__name__)
zmq = zmq_async.import_zmq() zmq = zmq_async.import_zmq()

View File

@ -12,13 +12,10 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
import logging
from oslo_messaging._drivers.zmq_driver.proxy import zmq_sender from oslo_messaging._drivers.zmq_driver.proxy import zmq_sender
from oslo_messaging._drivers.zmq_driver import zmq_async from oslo_messaging._drivers.zmq_driver import zmq_async
from oslo_messaging._drivers.zmq_driver import zmq_socket from oslo_messaging._drivers.zmq_driver import zmq_socket
LOG = logging.getLogger(__name__)
zmq = zmq_async.import_zmq() zmq = zmq_async.import_zmq()

View File

@ -12,8 +12,6 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
import logging
from oslo_messaging._drivers.zmq_driver.proxy.central \ from oslo_messaging._drivers.zmq_driver.proxy.central \
import zmq_publisher_proxy import zmq_publisher_proxy
from oslo_messaging._drivers.zmq_driver.proxy \ from oslo_messaging._drivers.zmq_driver.proxy \
@ -25,8 +23,6 @@ from oslo_messaging._drivers.zmq_driver import zmq_async
from oslo_messaging._drivers.zmq_driver import zmq_socket from oslo_messaging._drivers.zmq_driver import zmq_socket
LOG = logging.getLogger(__name__)
zmq = zmq_async.import_zmq() zmq = zmq_async.import_zmq()

View File

@ -13,14 +13,12 @@
# under the License. # under the License.
import abc import abc
import logging
import time import time
import six import six
from oslo_messaging._drivers.zmq_driver import zmq_async from oslo_messaging._drivers.zmq_driver import zmq_async
LOG = logging.getLogger(__name__)
zmq = zmq_async.import_zmq() zmq = zmq_async.import_zmq()

View File

@ -12,7 +12,6 @@
# under the License. # under the License.
import abc import abc
import logging
import six import six
@ -21,8 +20,6 @@ __all__ = [
"DispatcherBase" "DispatcherBase"
] ]
LOG = logging.getLogger(__name__)
@six.add_metaclass(abc.ABCMeta) @six.add_metaclass(abc.ABCMeta)
class DispatcherBase(object): class DispatcherBase(object):

View File

@ -30,7 +30,6 @@ __all__ = [
from abc import ABCMeta from abc import ABCMeta
from abc import abstractmethod from abc import abstractmethod
import logging
import sys import sys
import six import six
@ -42,8 +41,6 @@ from oslo_messaging import serializer as msg_serializer
from oslo_messaging import server as msg_server from oslo_messaging import server as msg_server
from oslo_messaging import target as msg_target from oslo_messaging import target as msg_target
LOG = logging.getLogger(__name__)
class ExpectedException(Exception): class ExpectedException(Exception):
"""Encapsulates an expected exception raised by an RPC endpoint """Encapsulates an expected exception raised by an RPC endpoint

View File

@ -12,14 +12,11 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
import logging
import os import os
import sys import sys
from oslo_messaging.tests.functional.zmq import multiproc_utils from oslo_messaging.tests.functional.zmq import multiproc_utils
LOG = logging.getLogger(__name__)
class StartupOrderTestCase(multiproc_utils.MultiprocTestCase): class StartupOrderTestCase(multiproc_utils.MultiprocTestCase):