From 720884cd5551466d649fb7797cd180ae6c3379e4 Mon Sep 17 00:00:00 2001 From: Cao Xuan Hoang Date: Mon, 29 Aug 2016 12:45:20 +0700 Subject: [PATCH] TrivialFix: Remove logging import unused This patch removes logging import unused in watcher/applier/manager.py watcher/applier/rpcapi.py watcher/decision_engine/goal/base.py watcher/decision_engine/model/notification/base.py watcher/decision_engine/model/notification/filtering.py Change-Id: I0b967e4931223b3b7e9459fb1483ed8185a1a7a0 --- watcher/applier/manager.py | 2 -- watcher/applier/rpcapi.py | 2 -- watcher/decision_engine/goal/base.py | 4 ---- watcher/decision_engine/model/notification/base.py | 4 ---- watcher/decision_engine/model/notification/filtering.py | 3 --- 5 files changed, 15 deletions(-) diff --git a/watcher/applier/manager.py b/watcher/applier/manager.py index 15c00f1a7..f576bc320 100644 --- a/watcher/applier/manager.py +++ b/watcher/applier/manager.py @@ -18,11 +18,9 @@ # from oslo_config import cfg -from oslo_log import log from watcher.applier.messaging import trigger -LOG = log.getLogger(__name__) CONF = cfg.CONF diff --git a/watcher/applier/rpcapi.py b/watcher/applier/rpcapi.py index f0be3ab35..b97e3f85a 100644 --- a/watcher/applier/rpcapi.py +++ b/watcher/applier/rpcapi.py @@ -17,7 +17,6 @@ # limitations under the License. # from oslo_config import cfg -from oslo_log import log from watcher.applier import manager from watcher.common import exception @@ -25,7 +24,6 @@ from watcher.common import service from watcher.common import utils -LOG = log.getLogger(__name__) CONF = cfg.CONF CONF.register_group(manager.opt_group) CONF.register_opts(manager.APPLIER_MANAGER_OPTS, manager.opt_group) diff --git a/watcher/decision_engine/goal/base.py b/watcher/decision_engine/goal/base.py index 7f5d32585..b272cfcbd 100644 --- a/watcher/decision_engine/goal/base.py +++ b/watcher/decision_engine/goal/base.py @@ -17,12 +17,8 @@ import abc import six -from oslo_log import log - from watcher.common.loader import loadable -LOG = log.getLogger(__name__) - @six.add_metaclass(abc.ABCMeta) class Goal(loadable.Loadable): diff --git a/watcher/decision_engine/model/notification/base.py b/watcher/decision_engine/model/notification/base.py index 6dd30c79a..5cf2d20d7 100644 --- a/watcher/decision_engine/model/notification/base.py +++ b/watcher/decision_engine/model/notification/base.py @@ -19,12 +19,8 @@ import abc import six -from oslo_log import log - from watcher.common import rpc -LOG = log.getLogger(__name__) - @six.add_metaclass(abc.ABCMeta) class NotificationEndpoint(object): diff --git a/watcher/decision_engine/model/notification/filtering.py b/watcher/decision_engine/model/notification/filtering.py index e0d7349d4..737e317ff 100644 --- a/watcher/decision_engine/model/notification/filtering.py +++ b/watcher/decision_engine/model/notification/filtering.py @@ -18,12 +18,9 @@ import re -from oslo_log import log import oslo_messaging as om import six -LOG = log.getLogger(__name__) - class NotificationFilter(om.NotificationFilter): """Notification Endpoint base class