Browse Source

Remove unused logging import

Change-Id: I818a7c7e2c857e9421024d3c7bcbcd2c95cfa3ae
Anh Tran 2 years ago
parent
commit
dc02b163e2

+ 0
- 2
murano-apps/LBaaS-interface/package/Resources/scripts/lbaas_api-0.1/lbaas/db/v1/api.py View File

@@ -15,14 +15,12 @@
15 15
 import contextlib
16 16
 
17 17
 from oslo_db import api as db_api
18
-from oslo_log import log as logging
19 18
 
20 19
 _BACKEND_MAPPING = {
21 20
     'sqlalchemy': 'lbaas.db.v1.sqlalchemy.api',
22 21
 }
23 22
 
24 23
 IMPL = db_api.DBAPI('sqlalchemy', backend_mapping=_BACKEND_MAPPING)
25
-LOG = logging.getLogger(__name__)
26 24
 
27 25
 
28 26
 def setup_db():

+ 0
- 2
murano-apps/LBaaS-interface/package/Resources/scripts/lbaas_api-0.1/lbaas/db/v1/sqlalchemy/api.py View File

@@ -18,7 +18,6 @@ import sys
18 18
 from oslo_config import cfg
19 19
 from oslo_db import exception as db_exc
20 20
 from oslo_db.sqlalchemy import utils as db_utils
21
-from oslo_log import log as logging
22 21
 import sqlalchemy as sa
23 22
 
24 23
 from lbaas.db.sqlalchemy import base as b
@@ -26,7 +25,6 @@ from lbaas.db.v1.sqlalchemy import models
26 25
 from lbaas import exceptions as exc
27 26
 
28 27
 CONF = cfg.CONF
29
-LOG = logging.getLogger(__name__)
30 28
 
31 29
 
32 30
 def get_backend():

+ 0
- 4
murano-apps/LBaaS-interface/package/Resources/scripts/lbaas_api-0.1/lbaas/db/v1/sqlalchemy/models.py View File

@@ -16,16 +16,12 @@ import sqlalchemy as sa
16 16
 from sqlalchemy.orm import backref
17 17
 from sqlalchemy.orm import relationship
18 18
 
19
-from oslo_log import log as logging
20
-
21 19
 from lbaas.db.sqlalchemy import model_base as mb
22 20
 from lbaas.db.sqlalchemy import types as st
23 21
 
24 22
 
25 23
 # Definition objects.
26 24
 
27
-LOG = logging.getLogger(__name__)
28
-
29 25
 
30 26
 class Listener(mb.LbaasModelBase):
31 27
     """Listener object"""

Loading…
Cancel
Save