Delete the unused LOG configure code
Delete the unused LOG configure code and import code Change-Id: I423ce866ee9907577c0cf5b171bb3c295d6f0d04
This commit is contained in:
@@ -13,7 +13,6 @@
|
||||
# under the License.
|
||||
|
||||
from oslo_config import cfg
|
||||
from oslo_log import log as logging
|
||||
from oslo_middleware import request_id as oslo_request_id
|
||||
|
||||
from murano.common.i18n import _
|
||||
@@ -27,7 +26,6 @@ context_opts = [
|
||||
|
||||
CONF = cfg.CONF
|
||||
CONF.register_opts(context_opts)
|
||||
LOG = logging.getLogger(__name__)
|
||||
CONF = cfg.CONF
|
||||
|
||||
|
||||
|
@@ -14,9 +14,7 @@
|
||||
|
||||
from keystoneclient.v3 import client
|
||||
from oslo_config import cfg
|
||||
from oslo_log import log as logging
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
CONF = cfg.CONF
|
||||
|
||||
|
||||
|
@@ -19,12 +19,10 @@ from oslo_config import cfg
|
||||
from oslo_db import exception
|
||||
from oslo_db import options
|
||||
from oslo_db.sqlalchemy import session as db_session
|
||||
from oslo_log import log as logging
|
||||
from oslo_utils import timeutils
|
||||
|
||||
from murano.db.models import Lock
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
CONF = cfg.CONF
|
||||
|
||||
options.set_defaults(CONF)
|
||||
|
@@ -17,13 +17,11 @@ import json
|
||||
import os
|
||||
|
||||
from oslo_config import cfg
|
||||
from oslo_log import log as logging
|
||||
import yaml
|
||||
|
||||
from murano.dsl import murano_package
|
||||
|
||||
CONF = cfg.CONF
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class MuranoPackage(murano_package.MuranoPackage):
|
||||
|
@@ -14,14 +14,12 @@
|
||||
# limitations under the License.
|
||||
|
||||
from oslo_config import cfg
|
||||
from oslo_log import log as logging
|
||||
import oslo_messaging as messaging
|
||||
|
||||
from murano.common import uuidutils
|
||||
from murano.dsl import dsl
|
||||
|
||||
CONF = cfg.CONF
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
UNCLASSIFIED = 0
|
||||
APPLICATION = 100
|
||||
|
@@ -21,7 +21,6 @@ from yaql.language import yaqltypes
|
||||
|
||||
from murano.dsl import dsl
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
NAME_TEMPLATE = 'applications.{0}'
|
||||
|
||||
inject_format = specs.inject(
|
||||
|
@@ -17,13 +17,10 @@
|
||||
import json
|
||||
|
||||
import eventlet
|
||||
from oslo_log import log as logging
|
||||
|
||||
from murano.dsl import dsl
|
||||
from murano.dsl import helpers
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class MistralError(Exception):
|
||||
pass
|
||||
|
@@ -16,14 +16,12 @@
|
||||
import types
|
||||
|
||||
from oslo_config import cfg
|
||||
from oslo_log import log as logging
|
||||
import oslo_messaging as messaging
|
||||
|
||||
from murano.common import uuidutils
|
||||
from murano.dsl import dsl
|
||||
|
||||
CONF = cfg.CONF
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
@dsl.name('io.murano.system.StatusReporter')
|
||||
|
@@ -14,7 +14,6 @@
|
||||
# limitations under the License.
|
||||
|
||||
from oslo_config import cfg
|
||||
from oslo_log import log as logging
|
||||
|
||||
import testtools
|
||||
|
||||
@@ -23,7 +22,6 @@ from murano.dsl import helpers
|
||||
|
||||
|
||||
CONF = cfg.CONF
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
@dsl.name('io.murano.test.TestFixture')
|
||||
|
Reference in New Issue
Block a user