Remove unused logging import
Change-Id: I087e7a221ea784678e8a90d2666e2ccc28831ecb
This commit is contained in:
parent
df84bb1d95
commit
b35c2b1c4d
|
@ -23,10 +23,6 @@ from bilean.common import utils
|
|||
from bilean.common import wsgi
|
||||
from bilean.rpc import client as rpc_client
|
||||
|
||||
from oslo_log import log as logging
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class ResourceController(object):
|
||||
"""WSGI controller for Resources in Bilean v1 API
|
||||
|
|
|
@ -23,10 +23,6 @@ from bilean.common import utils
|
|||
from bilean.common import wsgi
|
||||
from bilean.rpc import client as rpc_client
|
||||
|
||||
from oslo_log import log as logging
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class UserController(object):
|
||||
"""WSGI controller for Users in Bilean v1 API
|
||||
|
|
|
@ -29,8 +29,6 @@ from oslo_service import service
|
|||
|
||||
_lazy.enable_lazy()
|
||||
|
||||
LOG = logging.getLogger('bilean.engine')
|
||||
|
||||
|
||||
def main():
|
||||
logging.register_options(cfg.CONF)
|
||||
|
|
|
@ -24,8 +24,6 @@ from bilean.common import messaging
|
|||
|
||||
_lazy.enable_lazy()
|
||||
|
||||
LOG = logging.getLogger('bilean.notification')
|
||||
|
||||
|
||||
def main():
|
||||
logging.register_options(cfg.CONF)
|
||||
|
|
|
@ -29,8 +29,6 @@ from oslo_service import service
|
|||
|
||||
_lazy.enable_lazy()
|
||||
|
||||
LOG = logging.getLogger('bilean.scheduler')
|
||||
|
||||
|
||||
def main():
|
||||
logging.register_options(cfg.CONF)
|
||||
|
|
|
@ -24,7 +24,6 @@ from bilean.common.i18n import _
|
|||
from bilean.common import wsgi
|
||||
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
paste_deploy_group = cfg.OptGroup('paste_deploy')
|
||||
paste_deploy_opts = [
|
||||
cfg.StrOpt('api_paste_config', default="api-paste.ini",
|
||||
|
|
|
@ -14,14 +14,11 @@ import collections
|
|||
import numbers
|
||||
import six
|
||||
|
||||
from oslo_log import log as logging
|
||||
from oslo_utils import strutils
|
||||
|
||||
from bilean.common import exception
|
||||
from bilean.common.i18n import _
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class AnyIndexDict(collections.Mapping):
|
||||
'''Convenience schema for a list.'''
|
||||
|
|
|
@ -10,13 +10,9 @@
|
|||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from oslo_log import log
|
||||
|
||||
from bilean.drivers import base
|
||||
from bilean.drivers.openstack import sdk
|
||||
|
||||
LOG = log.getLogger(__name__)
|
||||
|
||||
|
||||
class CinderClient(base.DriverBase):
|
||||
'''Cinder V2 driver.'''
|
||||
|
|
|
@ -11,12 +11,10 @@
|
|||
# under the License.
|
||||
|
||||
from oslo_config import cfg
|
||||
from oslo_log import log
|
||||
|
||||
from bilean.drivers import base
|
||||
from bilean.drivers.openstack import sdk
|
||||
|
||||
LOG = log.getLogger(__name__)
|
||||
CONF = cfg.CONF
|
||||
|
||||
|
||||
|
|
|
@ -11,13 +11,10 @@
|
|||
# under the License.
|
||||
|
||||
from oslo_config import cfg
|
||||
from oslo_log import log
|
||||
|
||||
from bilean.drivers import base
|
||||
from bilean.drivers.openstack import sdk
|
||||
|
||||
LOG = log.getLogger(__name__)
|
||||
|
||||
|
||||
class NovaClient(base.DriverBase):
|
||||
'''Nova V2 driver.'''
|
||||
|
|
|
@ -15,10 +15,6 @@ from bilean.common import exception
|
|||
from bilean.common import utils
|
||||
from bilean.db import api as db_api
|
||||
|
||||
from oslo_log import log as logging
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class Consumption(object):
|
||||
"""Class reference to consumption record."""
|
||||
|
|
|
@ -17,12 +17,8 @@ import six
|
|||
from six.moves import urllib
|
||||
import yaml
|
||||
|
||||
from oslo_log import log as logging
|
||||
|
||||
from bilean.common.i18n import _
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
# Try LibYAML if available
|
||||
if hasattr(yaml, 'CSafeLoader'):
|
||||
Loader = yaml.CSafeLoader
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
# under the License.
|
||||
|
||||
from oslo_config import cfg
|
||||
from oslo_log import log as logging
|
||||
import oslo_messaging
|
||||
|
||||
notifier_opts = [
|
||||
|
@ -23,8 +22,6 @@ notifier_opts = [
|
|||
CONF = cfg.CONF
|
||||
CONF.register_opts(notifier_opts)
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
def get_transport():
|
||||
return oslo_messaging.get_transport(CONF)
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
import time
|
||||
|
||||
from oslo_config import cfg
|
||||
from oslo_log import log as logging
|
||||
from oslo_utils import timeutils
|
||||
|
||||
from bilean.common import exception
|
||||
|
@ -25,7 +24,6 @@ from bilean.engine import consumption as consumption_mod
|
|||
from bilean.engine import environment
|
||||
|
||||
wallclock = time.time
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
resource_opts = [
|
||||
|
|
Loading…
Reference in New Issue