Browse Source

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
tags/2.3.2^0
Rodolfo Alonso Hernandez 3 months ago
parent
commit
91d4eee90f
1 changed files with 1 additions and 4 deletions
  1. +1
    -4
      oslo_service/__init__.py

+ 1
- 4
oslo_service/__init__.py View File

@@ -13,12 +13,9 @@
import os

import eventlet.patcher
from oslo_log import log as logging

time = eventlet.patcher.original('time')


LOG = logging.getLogger(__name__)
time = eventlet.patcher.original('time')


def service_hub():


Loading…
Cancel
Save