diff --git a/congress/api/policy_model.py b/congress/api/policy_model.py index 0ae3fcebc..28a39cb8a 100644 --- a/congress/api/policy_model.py +++ b/congress/api/policy_model.py @@ -20,7 +20,6 @@ from __future__ import absolute_import import json import re -from oslo_log import log as logging import six from congress.api import base @@ -28,8 +27,6 @@ from congress.api import error_codes from congress.api import webservice from congress import exception -LOG = logging.getLogger(__name__) - class PolicyModel(base.APIModel): """Model for handling API requests about Policies.""" diff --git a/congress/api/rule_model.py b/congress/api/rule_model.py index ad647bc44..3e31ab22c 100644 --- a/congress/api/rule_model.py +++ b/congress/api/rule_model.py @@ -17,17 +17,12 @@ from __future__ import print_function from __future__ import division from __future__ import absolute_import -from oslo_log import log as logging - from congress.api import base from congress.api import error_codes from congress.api import webservice from congress import exception -LOG = logging.getLogger(__name__) - - class RuleModel(base.APIModel): """Model for handling API requests about policy Rules.""" diff --git a/congress/api/schema_model.py b/congress/api/schema_model.py index 395cac61e..3b53587b8 100644 --- a/congress/api/schema_model.py +++ b/congress/api/schema_model.py @@ -17,15 +17,11 @@ from __future__ import print_function from __future__ import division from __future__ import absolute_import -from oslo_log import log as logging - from congress.api import api_utils from congress.api import base from congress.api import webservice from congress import exception -LOG = logging.getLogger(__name__) - class SchemaModel(base.APIModel): """Model for handling API requests about Schemas.""" diff --git a/congress/api/system/driver_model.py b/congress/api/system/driver_model.py index 3008a86d9..f3699ed75 100644 --- a/congress/api/system/driver_model.py +++ b/congress/api/system/driver_model.py @@ -17,17 +17,12 @@ from __future__ import print_function from __future__ import division from __future__ import absolute_import -from oslo_log import log as logging - from congress.api import api_utils from congress.api import base from congress.api import webservice from congress import exception -LOG = logging.getLogger(__name__) - - def d6service(name, keys, inbox, datapath, args): return DatasourceDriverModel(name, keys, inbox=inbox, dataPath=datapath, **args) diff --git a/congress/datasources/doctor_driver.py b/congress/datasources/doctor_driver.py index 3beb5d58a..046922ddf 100644 --- a/congress/datasources/doctor_driver.py +++ b/congress/datasources/doctor_driver.py @@ -17,14 +17,11 @@ from __future__ import print_function from __future__ import division from __future__ import absolute_import -from oslo_log import log as logging import six from congress.datasources import constants from congress.datasources import datasource_driver -LOG = logging.getLogger(__name__) - def d6service(name, keys, inbox, datapath, args): """This method is called by d6cage to create a dataservice instance.""" diff --git a/congress/datasources/ironic_driver.py b/congress/datasources/ironic_driver.py index fa84502db..ac8926492 100644 --- a/congress/datasources/ironic_driver.py +++ b/congress/datasources/ironic_driver.py @@ -18,14 +18,11 @@ from __future__ import division from __future__ import absolute_import from ironicclient import client -from oslo_log import log as logging import six from congress.datasources import datasource_driver from congress.datasources import datasource_utils as ds_utils -LOG = logging.getLogger(__name__) - def d6service(name, keys, inbox, datapath, args): """This method is called by d6cage to create a dataservice instance.""" diff --git a/congress/tests/datalog/test_utility.py b/congress/tests/datalog/test_utility.py index 3f932814d..931ed3fe1 100644 --- a/congress/tests/datalog/test_utility.py +++ b/congress/tests/datalog/test_utility.py @@ -20,14 +20,11 @@ from __future__ import absolute_import import contextlib import logging as python_logging -from oslo_log import log as logging import six from congress.datalog import utility from congress.tests import base -LOG = logging.getLogger(__name__) - class TestGraph(base.TestCase): def test_nodes(self):