Remove logging import unused
This patch removes logging import unused in bin/refstack-manage refstack/api/controllers/auth.py refstack/api/controllers/guidelines.py Change-Id: Ieeb61be5a27fa9b18e409e77193745782b005bc6
This commit is contained in:
parent
0d494be2f9
commit
87c7ea6a49
@ -25,7 +25,6 @@ from oslo_log import log
|
||||
|
||||
from refstack.db import migration
|
||||
|
||||
LOG = log.getLogger(__name__)
|
||||
CONF = cfg.CONF
|
||||
|
||||
log.register_options(CONF)
|
||||
|
@ -16,7 +16,6 @@
|
||||
"""Authentication controller."""
|
||||
|
||||
from oslo_config import cfg
|
||||
from oslo_log import log
|
||||
import pecan
|
||||
from pecan import rest
|
||||
from six.moves.urllib import parse
|
||||
@ -26,8 +25,6 @@ from refstack.api import utils as api_utils
|
||||
from refstack import db
|
||||
|
||||
|
||||
LOG = log.getLogger(__name__)
|
||||
|
||||
OPENID_OPTS = [
|
||||
cfg.StrOpt('openstack_openid_endpoint',
|
||||
default='https://openstackid.org/accounts/openid2',
|
||||
|
@ -15,7 +15,6 @@
|
||||
|
||||
"""Defcore guidelines controller."""
|
||||
|
||||
from oslo_log import log
|
||||
import pecan
|
||||
from pecan import rest
|
||||
|
||||
@ -23,8 +22,6 @@ from refstack.api import constants as const
|
||||
from refstack.api import guidelines
|
||||
from refstack.api import utils as api_utils
|
||||
|
||||
LOG = log.getLogger(__name__)
|
||||
|
||||
|
||||
class TestsController(rest.RestController):
|
||||
"""v1/guidelines/<version>/tests handler.
|
||||
|
Loading…
Reference in New Issue
Block a user