Trival: Remove unused logging import

Change-Id: I99c428c9a9204409404379342bc87ced767ce38e
This commit is contained in:
keliang 2015-12-28 11:52:59 +08:00
parent 3e0278c27d
commit 723cc85830
4 changed files with 2 additions and 13 deletions

View File

@ -16,10 +16,6 @@
import abc
from oslo_log import log as logging
LOG = logging.getLogger(__name__)
class Action(object):
"""Action.

View File

@ -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):

View File

@ -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")

View File

@ -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():