Remove logging import unused
Change-Id: Ie45f8024dc9274431e2a37f6213c3aeef2e5f47e
This commit is contained in:
parent
0b46f4bbaf
commit
b2f409275e
|
@ -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__)
|
||||
|
||||
|
||||
class StatusModel(base.APIModel):
|
||||
"""Model for handling API requests about Statuses."""
|
||||
|
||||
|
|
|
@ -23,13 +23,10 @@ from __future__ import absolute_import
|
|||
|
||||
import sys
|
||||
|
||||
from oslo_log import log as logging
|
||||
import routes.middleware
|
||||
import webob.dec
|
||||
import webob.exc
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class Request(webob.Request):
|
||||
pass
|
||||
|
|
|
@ -17,14 +17,9 @@ from __future__ import print_function
|
|||
from __future__ import division
|
||||
from __future__ import absolute_import
|
||||
|
||||
from oslo_log import log as logging
|
||||
|
||||
from congress.datalog import utility
|
||||
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class FactSet(object):
|
||||
"""FactSet
|
||||
|
||||
|
|
|
@ -17,16 +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.datalog import compile
|
||||
from congress.datalog import factset
|
||||
from congress.datalog import utility
|
||||
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class RuleSet(object):
|
||||
"""RuleSet
|
||||
|
||||
|
|
|
@ -19,7 +19,6 @@ from __future__ import absolute_import
|
|||
|
||||
|
||||
from oslo_db import exception as oslo_db_exc
|
||||
from oslo_log import log as logging
|
||||
import sqlalchemy as sa
|
||||
from sqlalchemy.orm import exc as db_exc
|
||||
|
||||
|
@ -27,8 +26,6 @@ from sqlalchemy.orm import exc as db_exc
|
|||
from congress.db import api as db
|
||||
from congress.db import model_base
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class Policy(model_base.BASE, model_base.HasId, model_base.HasAudit):
|
||||
__tablename__ = 'policies'
|
||||
|
|
|
@ -12,17 +12,12 @@
|
|||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
import logging
|
||||
|
||||
from django.core.urlresolvers import reverse
|
||||
from horizon import workflows
|
||||
|
||||
from congress_dashboard.policies.rules import workflows as rule_workflows
|
||||
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class CreateView(workflows.WorkflowView):
|
||||
workflow_class = rule_workflows.CreateRule
|
||||
ajax_template_name = 'admin/policies/rules/create.html'
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from oslo_log import log as logging
|
||||
from tempest import config
|
||||
from tempest.lib import exceptions
|
||||
from tempest import test
|
||||
|
@ -22,7 +21,6 @@ from congress_tempest_tests.tests.scenario import manager_congress
|
|||
|
||||
|
||||
CONF = config.CONF
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class TestAodhDriver(manager_congress.ScenarioPolicyBase):
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from oslo_log import log as logging
|
||||
from tempest import config
|
||||
from tempest.lib import exceptions
|
||||
from tempest import test
|
||||
|
@ -22,7 +21,6 @@ from congress_tempest_tests.tests.scenario import manager_congress
|
|||
|
||||
|
||||
CONF = config.CONF
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class TestCeilometerDriver(manager_congress.ScenarioPolicyBase):
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from oslo_log import log as logging
|
||||
from tempest import clients
|
||||
from tempest import config
|
||||
from tempest.lib import exceptions
|
||||
|
@ -22,7 +21,6 @@ from tempest import test
|
|||
from congress_tempest_tests.tests.scenario import manager_congress
|
||||
|
||||
CONF = config.CONF
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class TestGlanceV2Driver(manager_congress.ScenarioPolicyBase):
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from oslo_log import log as logging
|
||||
from tempest import clients
|
||||
from tempest import config
|
||||
from tempest.lib import exceptions
|
||||
|
@ -22,7 +21,6 @@ from tempest import test
|
|||
from congress_tempest_tests.tests.scenario import manager_congress
|
||||
|
||||
CONF = config.CONF
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class TestKeystoneV2Driver(manager_congress.ScenarioPolicyBase):
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
# under the License.
|
||||
import time
|
||||
|
||||
from oslo_log import log as logging
|
||||
from tempest import clients
|
||||
from tempest import config
|
||||
from tempest.lib import exceptions
|
||||
|
@ -24,7 +23,6 @@ from congress_tempest_tests.tests.scenario import helper
|
|||
from congress_tempest_tests.tests.scenario import manager_congress
|
||||
|
||||
CONF = config.CONF
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class TestNeutronV2Driver(manager_congress.ScenarioPolicyBase):
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from oslo_log import log as logging
|
||||
from tempest import config
|
||||
from tempest.lib import exceptions
|
||||
from tempest import test
|
||||
|
@ -22,7 +21,6 @@ from congress_tempest_tests.tests.scenario import helper
|
|||
from congress_tempest_tests.tests.scenario import manager_congress
|
||||
|
||||
CONF = config.CONF
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class TestNovaDriver(manager_congress.ScenarioPolicyBase):
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from oslo_log import log as logging
|
||||
from tempest import config
|
||||
from tempest.lib import exceptions
|
||||
from tempest import test
|
||||
|
@ -28,7 +27,6 @@ import time
|
|||
|
||||
|
||||
CONF = config.CONF
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class TestPolicyBasicOps(manager_congress.ScenarioPolicyBase):
|
||||
|
|
Loading…
Reference in New Issue