From 92af1dfb2891fbcd2ec8b3195b487dda73c092bf Mon Sep 17 00:00:00 2001 From: Anh Tran Date: Fri, 17 Feb 2017 13:42:38 +0700 Subject: [PATCH] Remove unused logging import Change-Id: Id44dbb133f21d77f6596c34b7db60ee5b079ae52 --- octavia/api/v1/controllers/quotas.py | 3 --- octavia/controller/worker/tasks/lifecycle_tasks.py | 4 ---- .../tempest/v1/scenario/test_load_balancer_tree_minimal.py | 3 --- 3 files changed, 10 deletions(-) diff --git a/octavia/api/v1/controllers/quotas.py b/octavia/api/v1/controllers/quotas.py index a1923f213c..00eb1d2545 100644 --- a/octavia/api/v1/controllers/quotas.py +++ b/octavia/api/v1/controllers/quotas.py @@ -12,8 +12,6 @@ # License for the specific language governing permissions and limitations # under the License. -import logging - from oslo_config import cfg import pecan from wsme import types as wtypes @@ -26,7 +24,6 @@ from octavia.common import exceptions CONF = cfg.CONF CONF.import_group('quotas', 'octavia.common.config') -LOG = logging.getLogger(__name__) class QuotasController(base.BaseController): diff --git a/octavia/controller/worker/tasks/lifecycle_tasks.py b/octavia/controller/worker/tasks/lifecycle_tasks.py index 84219a7964..e8dd3bfca2 100644 --- a/octavia/controller/worker/tasks/lifecycle_tasks.py +++ b/octavia/controller/worker/tasks/lifecycle_tasks.py @@ -12,14 +12,10 @@ # License for the specific language governing permissions and limitations # under the License. -import logging - from taskflow import task from octavia.controller.worker import task_utils as task_utilities -LOG = logging.getLogger(__name__) - class BaseLifecycleTask(task.Task): """Base task to instansiate common classes.""" diff --git a/octavia/tests/tempest/v1/scenario/test_load_balancer_tree_minimal.py b/octavia/tests/tempest/v1/scenario/test_load_balancer_tree_minimal.py index b827fd37d5..54a2a61af5 100644 --- a/octavia/tests/tempest/v1/scenario/test_load_balancer_tree_minimal.py +++ b/octavia/tests/tempest/v1/scenario/test_load_balancer_tree_minimal.py @@ -13,7 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. -from oslo_log import log as logging from tempest import config from tempest import test @@ -22,8 +21,6 @@ from octavia.tests.tempest.v1.scenario import base config = config.CONF -LOG = logging.getLogger(__name__) - class TestLoadBalancerTreeMinimal(base.BaseTestCase):