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:
Rodolfo Alonso Hernandez 2020-07-20 15:46:13 +00:00
parent 585768b94d
commit 91d4eee90f

View File

@ -13,14 +13,11 @@
import os
import eventlet.patcher
from oslo_log import log as logging
time = eventlet.patcher.original('time')
LOG = logging.getLogger(__name__)
def service_hub():
# NOTE(dims): Add a custom impl for EVENTLET_HUB, so we can
# override the clock used in the eventlet hubs. The default