Remove dependency on oslo.log library
There is no need to import oslo.log inside OSProfiler code since we only use standard Python logging API (refer to https://docs.openstack.org/oslo.log/latest/user/migration.html#what-do-i-import) Change-Id: Ib26e896ae61a83484c6a01fba955d1da6d4c15b8
This commit is contained in:
parent
de34c0d29e
commit
8161744ca7
|
@ -14,13 +14,13 @@
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
import datetime
|
import datetime
|
||||||
|
import logging
|
||||||
|
|
||||||
from oslo_log import log
|
|
||||||
import six.moves.urllib.parse as urlparse
|
import six.moves.urllib.parse as urlparse
|
||||||
|
|
||||||
from osprofiler import _utils
|
from osprofiler import _utils
|
||||||
|
|
||||||
LOG = log.getLogger(__name__)
|
LOG = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
def get_driver(connection_string, *args, **kwargs):
|
def get_driver(connection_string, *args, **kwargs):
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
six>=1.9.0 # MIT
|
six>=1.9.0 # MIT
|
||||||
oslo.log>=3.11.0 # Apache-2.0
|
|
||||||
oslo.utils>=3.16.0 # Apache-2.0
|
oslo.utils>=3.16.0 # Apache-2.0
|
||||||
WebOb>=1.6.0 # MIT
|
WebOb>=1.6.0 # MIT
|
||||||
requests>=2.10.0 # Apache-2.0
|
requests>=2.10.0 # Apache-2.0
|
||||||
|
|
Loading…
Reference in New Issue