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:
Cao Xuan Hoang 2016-08-26 10:47:37 +07:00
parent 4ecf62ca87
commit 6bc2bd7017
7 changed files with 0 additions and 26 deletions

View File

@ -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."""

View File

@ -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."""

View File

@ -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."""

View File

@ -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)

View File

@ -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."""

View File

@ -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."""

View File

@ -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):