Use logging intead of oslo_log
We should make dependency of a oslo lib on other oslo libs as little as possible. Change-Id: I4ccb3d416842b06b6bd93d588f75b85fdf48204d
This commit is contained in:
parent
e1b05a54c6
commit
6c1a6f58b6
oslo_privsep
@ -21,13 +21,13 @@ bytes of UTF-8 JSON data.
|
||||
"""
|
||||
|
||||
import json
|
||||
import logging
|
||||
import socket
|
||||
import struct
|
||||
import threading
|
||||
|
||||
import six
|
||||
|
||||
from oslo_log import log as logging
|
||||
from oslo_privsep._i18n import _
|
||||
|
||||
|
||||
|
@ -15,10 +15,10 @@
|
||||
|
||||
import enum
|
||||
import functools
|
||||
import logging
|
||||
|
||||
from oslo_config import cfg
|
||||
from oslo_config import types
|
||||
from oslo_log import log as logging
|
||||
|
||||
from oslo_privsep import capabilities
|
||||
from oslo_privsep import daemon
|
||||
|
@ -14,11 +14,11 @@
|
||||
|
||||
|
||||
import fixtures
|
||||
import logging
|
||||
import os
|
||||
import sys
|
||||
|
||||
from oslo_config import fixture as cfg_fixture
|
||||
from oslo_log import log as logging
|
||||
|
||||
from oslo_privsep import priv_context
|
||||
|
||||
|
@ -13,11 +13,11 @@
|
||||
# under the License.
|
||||
|
||||
import fixtures
|
||||
import logging
|
||||
import mock
|
||||
import platform
|
||||
import time
|
||||
|
||||
from oslo_log import log as logging
|
||||
from oslotest import base
|
||||
import testtools
|
||||
|
||||
|
@ -13,12 +13,12 @@
|
||||
# under the License.
|
||||
|
||||
|
||||
import logging
|
||||
import os
|
||||
import pipes
|
||||
import platform
|
||||
import sys
|
||||
|
||||
from oslo_log import log as logging
|
||||
import testtools
|
||||
|
||||
from oslo_privsep import daemon
|
||||
|
Loading…
x
Reference in New Issue
Block a user