Trival: Remove unused logging import
Change-Id: I99c428c9a9204409404379342bc87ced767ce38e
This commit is contained in:
parent
3e0278c27d
commit
723cc85830
@ -16,10 +16,6 @@
|
||||
|
||||
import abc
|
||||
|
||||
from oslo_log import log as logging
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class Action(object):
|
||||
"""Action.
|
||||
|
@ -12,16 +12,13 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
from oslo_log import log as logging
|
||||
|
||||
import pecan
|
||||
from pecan import rest
|
||||
|
||||
from mistral import exceptions as exc
|
||||
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class SpecValidationController(rest.RestController):
|
||||
|
||||
def __init__(self, parser):
|
||||
|
@ -19,7 +19,6 @@ import six
|
||||
from oslo_config import cfg
|
||||
from oslo_db import options
|
||||
from oslo_db.sqlalchemy import session as db_session
|
||||
from oslo_log import log as logging
|
||||
import sqlalchemy as sa
|
||||
|
||||
from mistral.db.sqlalchemy import sqlite_lock
|
||||
@ -27,8 +26,6 @@ from mistral import exceptions as exc
|
||||
from mistral import utils
|
||||
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
# Note(dzimine): sqlite only works for basic testing.
|
||||
options.set_defaults(cfg.CONF, connection="sqlite:///mistral.sqlite")
|
||||
|
||||
|
@ -16,14 +16,13 @@
|
||||
import contextlib
|
||||
|
||||
from oslo_db import api as db_api
|
||||
from oslo_log import log as logging
|
||||
|
||||
|
||||
_BACKEND_MAPPING = {
|
||||
'sqlalchemy': 'mistral.db.v2.sqlalchemy.api',
|
||||
}
|
||||
|
||||
IMPL = db_api.DBAPI('sqlalchemy', backend_mapping=_BACKEND_MAPPING)
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
def setup_db():
|
||||
|
Loading…
Reference in New Issue
Block a user