TrivialFix: Remove logging import unused
This patch removes logging import unused in congress/api/policy_model.py congress/api/rule_model.py congress/api/schema_model.py congress/api/system/driver_model.py congress/datasources/doctor_driver.py congress/datasources/ironic_driver.py congress/tests/datalog/test_utility.py Change-Id: I46cb18beabc8e3761e834df90cb2b9d31454137f
This commit is contained in:
parent
4ecf62ca87
commit
6bc2bd7017
@ -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."""
|
||||
|
@ -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."""
|
||||
|
||||
|
@ -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."""
|
||||
|
@ -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)
|
||||
|
@ -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."""
|
||||
|
@ -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."""
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user