Remove unused import logging
Change-Id: Ie5430ded52c216da326ea88d30fca21ff8503142 Closes-bug: #1529541
This commit is contained in:
parent
3d40c322b5
commit
a213b74813
@ -22,11 +22,8 @@ import webob.exc
|
|||||||
|
|
||||||
from tacker.api import extensions
|
from tacker.api import extensions
|
||||||
from tacker.api.v1 import attributes
|
from tacker.api.v1 import attributes
|
||||||
from tacker.openstack.common import log as logging
|
|
||||||
from tacker import wsgi
|
from tacker import wsgi
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
class Index(wsgi.Application):
|
class Index(wsgi.Application):
|
||||||
def __init__(self, resources):
|
def __init__(self, resources):
|
||||||
|
@ -17,13 +17,9 @@ import webob.dec
|
|||||||
|
|
||||||
from tacker.api.views import versions as versions_view
|
from tacker.api.views import versions as versions_view
|
||||||
from tacker.openstack.common import gettextutils
|
from tacker.openstack.common import gettextutils
|
||||||
from tacker.openstack.common import log as logging
|
|
||||||
from tacker import wsgi
|
from tacker import wsgi
|
||||||
|
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
class Versions(object):
|
class Versions(object):
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
@ -26,13 +26,10 @@ from oslo_config import cfg
|
|||||||
|
|
||||||
from tacker.common import config
|
from tacker.common import config
|
||||||
from tacker.openstack.common import gettextutils
|
from tacker.openstack.common import gettextutils
|
||||||
from tacker.openstack.common import log as logging
|
|
||||||
from tacker.openstack.common import service as common_service
|
from tacker.openstack.common import service as common_service
|
||||||
from tacker import service
|
from tacker import service
|
||||||
gettextutils.install('tacker', lazy=True)
|
gettextutils.install('tacker', lazy=True)
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
# the configuration will be read into the cfg.CONF global data structure
|
# the configuration will be read into the cfg.CONF global data structure
|
||||||
|
@ -19,10 +19,6 @@ from oslo_messaging import serializer as om_serializer
|
|||||||
|
|
||||||
from tacker.common import exceptions
|
from tacker.common import exceptions
|
||||||
from tacker import context
|
from tacker import context
|
||||||
from tacker.openstack.common import log as logging
|
|
||||||
|
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
TRANSPORT = None
|
TRANSPORT = None
|
||||||
|
@ -20,9 +20,6 @@ from sqlalchemy import sql
|
|||||||
|
|
||||||
from tacker.common import exceptions as n_exc
|
from tacker.common import exceptions as n_exc
|
||||||
from tacker.db import sqlalchemyutils
|
from tacker.db import sqlalchemyutils
|
||||||
from tacker.openstack.common import log as logging
|
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
class CommonDbMixin(object):
|
class CommonDbMixin(object):
|
||||||
|
@ -18,10 +18,6 @@ import sqlalchemy
|
|||||||
from sqlalchemy.orm.properties import RelationshipProperty
|
from sqlalchemy.orm.properties import RelationshipProperty
|
||||||
|
|
||||||
from tacker.common import exceptions as n_exc
|
from tacker.common import exceptions as n_exc
|
||||||
from tacker.openstack.common import log as logging
|
|
||||||
|
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
def paginate_query(query, model, limit, sorts, marker_obj=None):
|
def paginate_query(query, model, limit, sorts, marker_obj=None):
|
||||||
|
@ -18,10 +18,6 @@ import abc
|
|||||||
import six
|
import six
|
||||||
|
|
||||||
from tacker.api import extensions
|
from tacker.api import extensions
|
||||||
from tacker.openstack.common import log as logging
|
|
||||||
|
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
@six.add_metaclass(abc.ABCMeta)
|
@six.add_metaclass(abc.ABCMeta)
|
||||||
|
Loading…
Reference in New Issue
Block a user