Do not import "oslo.log" in the main module
The LOG instance is not being used and there is no need to import "oslo_log". This will also prevent the circular import detected in the related bug. Change-Id: Id560ba80472b9efbcfbc289a18d4df312961fdb1 Related-Bug: #1888213
This commit is contained in:
parent
585768b94d
commit
91d4eee90f
@ -13,14 +13,11 @@
|
|||||||
import os
|
import os
|
||||||
|
|
||||||
import eventlet.patcher
|
import eventlet.patcher
|
||||||
from oslo_log import log as logging
|
|
||||||
|
|
||||||
time = eventlet.patcher.original('time')
|
time = eventlet.patcher.original('time')
|
||||||
|
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
def service_hub():
|
def service_hub():
|
||||||
# NOTE(dims): Add a custom impl for EVENTLET_HUB, so we can
|
# NOTE(dims): Add a custom impl for EVENTLET_HUB, so we can
|
||||||
# override the clock used in the eventlet hubs. The default
|
# override the clock used in the eventlet hubs. The default
|
||||||
|
Loading…
Reference in New Issue
Block a user