From 87c7ea6a491f366df3caf969ab1adbeba0cb684d Mon Sep 17 00:00:00 2001 From: Cao Xuan Hoang Date: Thu, 17 Nov 2016 10:46:31 +0700 Subject: [PATCH] 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 --- bin/refstack-manage | 1 - refstack/api/controllers/auth.py | 3 --- refstack/api/controllers/guidelines.py | 3 --- 3 files changed, 7 deletions(-) diff --git a/bin/refstack-manage b/bin/refstack-manage index 50f66e72..28b00d69 100755 --- a/bin/refstack-manage +++ b/bin/refstack-manage @@ -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) diff --git a/refstack/api/controllers/auth.py b/refstack/api/controllers/auth.py index 5e47f83f..178220fa 100644 --- a/refstack/api/controllers/auth.py +++ b/refstack/api/controllers/auth.py @@ -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', diff --git a/refstack/api/controllers/guidelines.py b/refstack/api/controllers/guidelines.py index cb8f531b..6ee5fd76 100644 --- a/refstack/api/controllers/guidelines.py +++ b/refstack/api/controllers/guidelines.py @@ -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//tests handler.