From 4c6dc3a6c1b8801577ec74547be4032490949125 Mon Sep 17 00:00:00 2001 From: zhufl Date: Tue, 5 Jul 2016 10:36:28 +0800 Subject: [PATCH] Remove unused LOG This is to remove unused LOG to keep code clean. Change-Id: I768eb14992e2b65255b3f4356dda77030e17d6d4 --- cinder/api/v3/messages.py | 2 -- cinder/api/views/manageable_snapshots.py | 5 ----- cinder/api/views/manageable_volumes.py | 5 ----- 3 files changed, 12 deletions(-) diff --git a/cinder/api/v3/messages.py b/cinder/api/v3/messages.py index f4db1eeb797..a7f332c768f 100644 --- a/cinder/api/v3/messages.py +++ b/cinder/api/v3/messages.py @@ -14,7 +14,6 @@ from oslo_config import cfg -from oslo_log import log as logging import webob from webob import exc @@ -28,7 +27,6 @@ import cinder.policy CONF = cfg.CONF -LOG = logging.getLogger(__name__) MESSAGES_BASE_MICRO_VERSION = '3.3' diff --git a/cinder/api/views/manageable_snapshots.py b/cinder/api/views/manageable_snapshots.py index f3e8d9357c8..10535812989 100644 --- a/cinder/api/views/manageable_snapshots.py +++ b/cinder/api/views/manageable_snapshots.py @@ -12,14 +12,9 @@ # License for the specific language governing permissions and limitations # under the License. -from oslo_log import log as logging - from cinder.api import common -LOG = logging.getLogger(__name__) - - class ViewBuilder(common.ViewBuilder): """Model manageable snapshot responses as a python dictionary.""" diff --git a/cinder/api/views/manageable_volumes.py b/cinder/api/views/manageable_volumes.py index 892fe86520d..ef0bdad5d00 100644 --- a/cinder/api/views/manageable_volumes.py +++ b/cinder/api/views/manageable_volumes.py @@ -12,14 +12,9 @@ # License for the specific language governing permissions and limitations # under the License. -from oslo_log import log as logging - from cinder.api import common -LOG = logging.getLogger(__name__) - - class ViewBuilder(common.ViewBuilder): """Model manageable volume responses as a python dictionary."""