Trivial: Remove unused logging import

Change-Id: Ic8cb2b5a45ac0e49c34c3903a52a3d22a7bcb45d
This commit is contained in:
ChangBo Guo(gcb) 2015-12-24 13:13:28 +08:00
parent 7aa6856f6c
commit 7aa7a880c5
10 changed files with 0 additions and 29 deletions

View File

@ -24,7 +24,6 @@ uses AMQP, but is deprecated and predates this code.
"""
import collections
import logging
import uuid
from oslo_config import cfg
@ -51,7 +50,6 @@ amqp_opts = [
]
UNIQUE_ID = '_unique_id'
LOG = logging.getLogger(__name__)
class RpcContext(rpc_common.CommonRpcContext):

View File

@ -12,7 +12,6 @@
# License for the specific language governing permissions and limitations
# under the License.
import logging
import os
import socket
import threading
@ -29,7 +28,6 @@ from oslo_messaging._executors import impl_pooledexecutor
from oslo_messaging._i18n import _LE
LOG = logging.getLogger(__name__)
RPCException = rpc_common.RPCException
zmq_opts = [

View File

@ -13,14 +13,11 @@
# under the License.
import abc
import logging
import six
from oslo_messaging._drivers.zmq_driver import zmq_async
LOG = logging.getLogger(__name__)
@six.add_metaclass(abc.ABCMeta)
class BaseProxy(object):

View File

@ -13,16 +13,12 @@
import abc
import collections
import logging
import six
from oslo_messaging._drivers.zmq_driver import zmq_address
LOG = logging.getLogger(__name__)
@six.add_metaclass(abc.ABCMeta)
class MatchMakerBase(object):

View File

@ -12,15 +12,12 @@
# License for the specific language governing permissions and limitations
# under the License.
import logging
import threading
import eventlet
from oslo_messaging._drivers.zmq_driver import zmq_poller
LOG = logging.getLogger(__name__)
class GreenPoller(zmq_poller.ZmqPoller):

View File

@ -12,12 +12,9 @@
# License for the specific language governing permissions and limitations
# under the License.
import logging
from oslo_messaging._i18n import _
from oslo_utils import importutils
LOG = logging.getLogger(__name__)
# Map zmq_concurrency config option names to the actual module name.
ZMQ_MODULES = {

View File

@ -13,16 +13,12 @@
# License for the specific language governing permissions and limitations
# under the License.
import logging
from eventlet.green import threading as greenthreading
import futurist
from oslo_messaging._executors import impl_pooledexecutor
from oslo_utils import eventletutils
LOG = logging.getLogger(__name__)
class EventletExecutor(impl_pooledexecutor.PooledExecutor):
"""A message executor which integrates with eventlet.

View File

@ -13,11 +13,8 @@
# License for the specific language governing permissions and limitations
# under the License.
import logging
import threading
LOG = logging.getLogger(__name__)
def version_is_compatible(imp_version, version):
"""Determine whether versions are compatible.

View File

@ -12,8 +12,6 @@
# License for the specific language governing permissions and limitations
# under the License.
import logging
import fixtures
import testtools
@ -24,7 +22,6 @@ from oslo_messaging._drivers.zmq_driver import zmq_socket
from oslo_messaging.tests import utils as test_utils
from oslo_messaging.tests.drivers.zmq import zmq_common
LOG = logging.getLogger(__name__)
zmq = zmq_async.import_zmq()

View File

@ -12,7 +12,6 @@
# License for the specific language governing permissions and limitations
# under the License.
import logging
import pickle
import time
@ -31,7 +30,6 @@ from oslo_messaging._drivers.zmq_driver.client.publishers \
from oslo_messaging.tests import utils as test_utils
from oslo_messaging.tests.drivers.zmq import zmq_common
LOG = logging.getLogger(__name__)
zmq = zmq_async.import_zmq()