TrivialFix: Remove logging import usused
This patch removes logging import unused. Change-Id: Ia609f2a569828089a24811d55af80eda56bffa7e
This commit is contained in:
parent
7af18b91bb
commit
36c7b3de74
@ -16,7 +16,6 @@
|
||||
"""Handles all requests to the conductor service."""
|
||||
|
||||
from oslo_config import cfg
|
||||
from oslo_log import log as logging
|
||||
|
||||
from sahara.conductor import manager
|
||||
from sahara.conductor import resource as r
|
||||
@ -35,8 +34,6 @@ CONF = cfg.CONF
|
||||
CONF.register_group(conductor_group)
|
||||
CONF.register_opts(conductor_opts, conductor_group)
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
def _get_id(obj):
|
||||
"""Return object id.
|
||||
|
@ -34,7 +34,6 @@ interface.
|
||||
from oslo_config import cfg
|
||||
from oslo_db import api as db_api
|
||||
from oslo_db import options
|
||||
from oslo_log import log as logging
|
||||
|
||||
from sahara.utils import types
|
||||
|
||||
@ -47,7 +46,6 @@ _BACKEND_MAPPING = {
|
||||
}
|
||||
|
||||
IMPL = db_api.DBAPI.from_config(CONF, backend_mapping=_BACKEND_MAPPING)
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
def setup_db():
|
||||
|
@ -14,7 +14,6 @@
|
||||
# limitations under the License.
|
||||
|
||||
from oslo_config import cfg
|
||||
from oslo_log import log as logging
|
||||
import six
|
||||
|
||||
from sahara import conductor as c
|
||||
@ -22,8 +21,6 @@ from sahara import context
|
||||
from sahara.utils.openstack import base as b
|
||||
from sahara.utils.openstack import nova
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
conductor = c.API
|
||||
CONF = cfg.CONF
|
||||
|
||||
|
@ -14,7 +14,6 @@
|
||||
|
||||
import time
|
||||
|
||||
from oslo_log import log as logging
|
||||
from oslo_utils import timeutils
|
||||
from saharaclient.api import base as sab
|
||||
from saharaclient import client as sahara_client
|
||||
@ -29,8 +28,6 @@ TEMPEST_CONF = config.CONF
|
||||
CLUSTER_STATUS_ACTIVE = "Active"
|
||||
CLUSTER_STATUS_ERROR = "Error"
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class BaseDataProcessingTest(manager.ScenarioTest):
|
||||
@classmethod
|
||||
|
@ -19,13 +19,10 @@ import sys
|
||||
|
||||
from eventlet.green import subprocess
|
||||
from eventlet import timeout as e_timeout
|
||||
from oslo_log import log as logging
|
||||
|
||||
from sahara import context
|
||||
from sahara import exceptions
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
def _get_sub_executable():
|
||||
return '%s/_sahara-subprocess' % os.path.dirname(sys.argv[0])
|
||||
|
@ -21,15 +21,12 @@
|
||||
import datetime
|
||||
|
||||
from oslo_config import cfg
|
||||
from oslo_log import log as logging
|
||||
from oslo_serialization import jsonutils
|
||||
import six
|
||||
|
||||
from sahara import exceptions
|
||||
from sahara.i18n import _
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
CONF = cfg.CONF
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user