Merge "remove LOG definitions that have not been used"

This commit is contained in:
Zuul
2018-07-26 01:38:56 +00:00
committed by Gerrit Code Review
4 changed files with 0 additions and 17 deletions

View File

@@ -51,8 +51,6 @@ import wsme
from wsme import types as wtypes from wsme import types as wtypes
import wsmeext.pecan as wsme_pecan import wsmeext.pecan as wsme_pecan
from oslo_log import log
from watcher._i18n import _ from watcher._i18n import _
from watcher.api.controllers import base from watcher.api.controllers import base
from watcher.api.controllers import link from watcher.api.controllers import link
@@ -66,8 +64,6 @@ from watcher.common import utils as common_utils
from watcher.decision_engine.loading import default as default_loading from watcher.decision_engine.loading import default as default_loading
from watcher import objects from watcher import objects
LOG = log.getLogger(__name__)
class AuditTemplatePostType(wtypes.Base): class AuditTemplatePostType(wtypes.Base):
_ctx = context_utils.make_context() _ctx = context_utils.make_context()

View File

@@ -13,16 +13,12 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
from oslo_log import log
from watcher.common import exception from watcher.common import exception
from watcher.datasource import base from watcher.datasource import base
from watcher.datasource import ceilometer as ceil from watcher.datasource import ceilometer as ceil
from watcher.datasource import gnocchi as gnoc from watcher.datasource import gnocchi as gnoc
from watcher.datasource import monasca as mon from watcher.datasource import monasca as mon
LOG = log.getLogger(__name__)
class DataSourceManager(object): class DataSourceManager(object):

View File

@@ -14,14 +14,9 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
from oslo_log import log
from watcher.decision_engine.scope import base from watcher.decision_engine.scope import base
LOG = log.getLogger(__name__)
class BaremetalScope(base.BaseScope): class BaremetalScope(base.BaseScope):
"""Baremetal Audit Scope Handler""" """Baremetal Audit Scope Handler"""

View File

@@ -11,16 +11,12 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
from oslo_log import log
from watcher.common import cinder_helper from watcher.common import cinder_helper
from watcher.common import exception from watcher.common import exception
from watcher.decision_engine.scope import base from watcher.decision_engine.scope import base
LOG = log.getLogger(__name__)
class StorageScope(base.BaseScope): class StorageScope(base.BaseScope):
"""Storage Audit Scope Handler""" """Storage Audit Scope Handler"""