TrivialFix: Remove logging import unused
This patch removes logging import unused in mistral/cmd/launch.py mistral/engine/actions.py mistral/utils/rest_utils.py Change-Id: Ie742d1565f505404fdb58d4d9d0f013ae4475ff4
This commit is contained in:
parent
af21f0da06
commit
72a34e8593
@ -56,8 +56,6 @@ from mistral import version
|
|||||||
|
|
||||||
CONF = cfg.CONF
|
CONF = cfg.CONF
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
def launch_executor():
|
def launch_executor():
|
||||||
profiler.setup('mistral-executor', cfg.CONF.executor.host)
|
profiler.setup('mistral-executor', cfg.CONF.executor.host)
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
|
|
||||||
import abc
|
import abc
|
||||||
from oslo_config import cfg
|
from oslo_config import cfg
|
||||||
from oslo_log import log as logging
|
|
||||||
from osprofiler import profiler
|
from osprofiler import profiler
|
||||||
import six
|
import six
|
||||||
|
|
||||||
@ -35,8 +34,6 @@ from mistral.workflow import states
|
|||||||
from mistral.workflow import utils as wf_utils
|
from mistral.workflow import utils as wf_utils
|
||||||
|
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
_RUN_EXISTING_ACTION_PATH = 'mistral.engine.actions._run_existing_action'
|
_RUN_EXISTING_ACTION_PATH = 'mistral.engine.actions._run_existing_action'
|
||||||
|
|
||||||
|
|
||||||
|
@ -20,14 +20,11 @@ import json
|
|||||||
import pecan
|
import pecan
|
||||||
import six
|
import six
|
||||||
|
|
||||||
from oslo_log import log as logging
|
|
||||||
import webob
|
import webob
|
||||||
from wsme import exc as wsme_exc
|
from wsme import exc as wsme_exc
|
||||||
|
|
||||||
from mistral import exceptions as exc
|
from mistral import exceptions as exc
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
def wrap_wsme_controller_exception(func):
|
def wrap_wsme_controller_exception(func):
|
||||||
"""Decorator for controllers method.
|
"""Decorator for controllers method.
|
||||||
|
Loading…
Reference in New Issue
Block a user