From 9dd1018ab74b38c5a908ed601f1b7ba62da2ac0e Mon Sep 17 00:00:00 2001 From: weiweigu Date: Mon, 11 Jul 2016 10:57:25 +0800 Subject: [PATCH] Remove unused LOG to keep code clean Trivialfix Change-Id: I143b0d92dbb33309df8334fd93a02b9abda4e861 --- magnum/common/cert_manager/x509keypair_cert_manager.py | 3 --- magnum/common/policy.py | 3 --- 2 files changed, 6 deletions(-) diff --git a/magnum/common/cert_manager/x509keypair_cert_manager.py b/magnum/common/cert_manager/x509keypair_cert_manager.py index 085a309d10..8fda02f5cf 100644 --- a/magnum/common/cert_manager/x509keypair_cert_manager.py +++ b/magnum/common/cert_manager/x509keypair_cert_manager.py @@ -13,14 +13,11 @@ # under the License. from oslo_config import cfg -from oslo_log import log as logging from magnum.common.cert_manager import cert_manager from magnum import objects -LOG = logging.getLogger(__name__) - CONF = cfg.CONF diff --git a/magnum/common/policy.py b/magnum/common/policy.py index 50950b433e..dcf1375534 100644 --- a/magnum/common/policy.py +++ b/magnum/common/policy.py @@ -17,7 +17,6 @@ import decorator from oslo_config import cfg -from oslo_log import log as logging from oslo_policy import policy import pecan @@ -27,8 +26,6 @@ from magnum.common import exception _ENFORCER = None CONF = cfg.CONF -LOG = logging.getLogger(__name__) - # we can get a policy enforcer by this init. # oslo policy support change policy rule dynamically.