Merge "Remove unused logging import"
This commit is contained in:
commit
75f1225e67
@ -17,10 +17,6 @@
|
|||||||
|
|
||||||
import re
|
import re
|
||||||
|
|
||||||
from oslo_log import log as logging
|
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
SERVICE_STATIC = 'static'
|
SERVICE_STATIC = 'static'
|
||||||
|
|
||||||
|
|
||||||
|
@ -23,9 +23,6 @@ from astara import commands
|
|||||||
|
|
||||||
from novaclient import exceptions
|
from novaclient import exceptions
|
||||||
from oslo_config import cfg
|
from oslo_config import cfg
|
||||||
from oslo_log import log as logging
|
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
class _TenantResourceCmd(message.MessageSending):
|
class _TenantResourceCmd(message.MessageSending):
|
||||||
|
@ -18,8 +18,6 @@ from oslo_config import cfg
|
|||||||
from oslo_log import log
|
from oslo_log import log
|
||||||
|
|
||||||
|
|
||||||
LOG = log.getLogger(__name__)
|
|
||||||
|
|
||||||
PREFERRED_CONFIG_FILEPATH = '/etc/astara/orchestrator.ini'
|
PREFERRED_CONFIG_FILEPATH = '/etc/astara/orchestrator.ini'
|
||||||
SEARCH_DIRS = ['/etc/astara', '/etc/akanda-rug', '/etc/akanda']
|
SEARCH_DIRS = ['/etc/astara', '/etc/akanda-rug', '/etc/akanda']
|
||||||
LEGACY_FILE_MAP = {
|
LEGACY_FILE_MAP = {
|
||||||
|
@ -20,13 +20,11 @@
|
|||||||
from oslo_config import cfg
|
from oslo_config import cfg
|
||||||
from oslo_db import exception as db_exc
|
from oslo_db import exception as db_exc
|
||||||
from oslo_db.sqlalchemy import session as db_session
|
from oslo_db.sqlalchemy import session as db_session
|
||||||
from oslo_log import log
|
|
||||||
|
|
||||||
from astara.db import api
|
from astara.db import api
|
||||||
from astara.db.sqlalchemy import models
|
from astara.db.sqlalchemy import models
|
||||||
|
|
||||||
CONF = cfg.CONF
|
CONF = cfg.CONF
|
||||||
LOG = log.getLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
_FACADE = None
|
_FACADE = None
|
||||||
|
@ -15,8 +15,6 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
import logging
|
|
||||||
|
|
||||||
import mock
|
import mock
|
||||||
import unittest2 as unittest
|
import unittest2 as unittest
|
||||||
from datetime import datetime, timedelta
|
from datetime import datetime, timedelta
|
||||||
@ -32,8 +30,6 @@ from oslo_config import cfg
|
|||||||
states.RETRY_DELAY = 0.4
|
states.RETRY_DELAY = 0.4
|
||||||
states.BOOT_WAIT = 1
|
states.BOOT_WAIT = 1
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
class FakeModel(object):
|
class FakeModel(object):
|
||||||
def __init__(self, id_, **kwargs):
|
def __init__(self, id_, **kwargs):
|
||||||
|
Loading…
Reference in New Issue
Block a user