summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnh Tran <anhtt@vn.fujitsu.com>2017-02-16 13:11:25 +0700
committerAnh Tran <anhtt@vn.fujitsu.com>2017-02-16 06:54:59 +0000
commitdc02b163e269a434f7eef0889ba109dbd04f8a6a (patch)
treeaa4760c75003e87f86eeaad271d036c6267b1e69
parent742521897e3e6025fdea943ab2bf83dc77930d8a (diff)
Remove unused logging import
Notes
Notes (review): Code-Review+2: Sergey Kraynev <skraynev@mirantis.com> Code-Review+2: Felipe Monteiro <felipe.monteiro@att.com> Workflow+1: Sergey Kraynev <skraynev@mirantis.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Mon, 20 Feb 2017 07:10:54 +0000 Reviewed-on: https://review.openstack.org/434667 Project: openstack/ci-cd-pipeline-app-murano Branch: refs/heads/master
-rw-r--r--murano-apps/LBaaS-interface/package/Resources/scripts/lbaas_api-0.1/lbaas/db/v1/api.py2
-rw-r--r--murano-apps/LBaaS-interface/package/Resources/scripts/lbaas_api-0.1/lbaas/db/v1/sqlalchemy/api.py2
-rw-r--r--murano-apps/LBaaS-interface/package/Resources/scripts/lbaas_api-0.1/lbaas/db/v1/sqlalchemy/models.py4
3 files changed, 0 insertions, 8 deletions
diff --git a/murano-apps/LBaaS-interface/package/Resources/scripts/lbaas_api-0.1/lbaas/db/v1/api.py b/murano-apps/LBaaS-interface/package/Resources/scripts/lbaas_api-0.1/lbaas/db/v1/api.py
index 0712aee..447e72a 100644
--- a/murano-apps/LBaaS-interface/package/Resources/scripts/lbaas_api-0.1/lbaas/db/v1/api.py
+++ b/murano-apps/LBaaS-interface/package/Resources/scripts/lbaas_api-0.1/lbaas/db/v1/api.py
@@ -15,14 +15,12 @@
15import contextlib 15import contextlib
16 16
17from oslo_db import api as db_api 17from oslo_db import api as db_api
18from oslo_log import log as logging
19 18
20_BACKEND_MAPPING = { 19_BACKEND_MAPPING = {
21 'sqlalchemy': 'lbaas.db.v1.sqlalchemy.api', 20 'sqlalchemy': 'lbaas.db.v1.sqlalchemy.api',
22} 21}
23 22
24IMPL = db_api.DBAPI('sqlalchemy', backend_mapping=_BACKEND_MAPPING) 23IMPL = db_api.DBAPI('sqlalchemy', backend_mapping=_BACKEND_MAPPING)
25LOG = logging.getLogger(__name__)
26 24
27 25
28def setup_db(): 26def setup_db():
diff --git a/murano-apps/LBaaS-interface/package/Resources/scripts/lbaas_api-0.1/lbaas/db/v1/sqlalchemy/api.py b/murano-apps/LBaaS-interface/package/Resources/scripts/lbaas_api-0.1/lbaas/db/v1/sqlalchemy/api.py
index 9a6c29d..053615b 100644
--- a/murano-apps/LBaaS-interface/package/Resources/scripts/lbaas_api-0.1/lbaas/db/v1/sqlalchemy/api.py
+++ b/murano-apps/LBaaS-interface/package/Resources/scripts/lbaas_api-0.1/lbaas/db/v1/sqlalchemy/api.py
@@ -18,7 +18,6 @@ import sys
18from oslo_config import cfg 18from oslo_config import cfg
19from oslo_db import exception as db_exc 19from oslo_db import exception as db_exc
20from oslo_db.sqlalchemy import utils as db_utils 20from oslo_db.sqlalchemy import utils as db_utils
21from oslo_log import log as logging
22import sqlalchemy as sa 21import sqlalchemy as sa
23 22
24from lbaas.db.sqlalchemy import base as b 23from lbaas.db.sqlalchemy import base as b
@@ -26,7 +25,6 @@ from lbaas.db.v1.sqlalchemy import models
26from lbaas import exceptions as exc 25from lbaas import exceptions as exc
27 26
28CONF = cfg.CONF 27CONF = cfg.CONF
29LOG = logging.getLogger(__name__)
30 28
31 29
32def get_backend(): 30def get_backend():
diff --git a/murano-apps/LBaaS-interface/package/Resources/scripts/lbaas_api-0.1/lbaas/db/v1/sqlalchemy/models.py b/murano-apps/LBaaS-interface/package/Resources/scripts/lbaas_api-0.1/lbaas/db/v1/sqlalchemy/models.py
index 1b71a62..d6dc8c0 100644
--- a/murano-apps/LBaaS-interface/package/Resources/scripts/lbaas_api-0.1/lbaas/db/v1/sqlalchemy/models.py
+++ b/murano-apps/LBaaS-interface/package/Resources/scripts/lbaas_api-0.1/lbaas/db/v1/sqlalchemy/models.py
@@ -16,16 +16,12 @@ import sqlalchemy as sa
16from sqlalchemy.orm import backref 16from sqlalchemy.orm import backref
17from sqlalchemy.orm import relationship 17from sqlalchemy.orm import relationship
18 18
19from oslo_log import log as logging
20
21from lbaas.db.sqlalchemy import model_base as mb 19from lbaas.db.sqlalchemy import model_base as mb
22from lbaas.db.sqlalchemy import types as st 20from lbaas.db.sqlalchemy import types as st
23 21
24 22
25# Definition objects. 23# Definition objects.
26 24
27LOG = logging.getLogger(__name__)
28
29 25
30class Listener(mb.LbaasModelBase): 26class Listener(mb.LbaasModelBase):
31 """Listener object""" 27 """Listener object"""