Merge "Drop unused import cfg"
This commit is contained in:
commit
c034e59e06
@ -13,7 +13,6 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
from oslo_config import cfg
|
||||
from oslo_log import log as logging
|
||||
from oslo_serialization import jsonutils
|
||||
from oslo_utils import encodeutils
|
||||
@ -34,8 +33,6 @@ import glance.schema
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
CONF = cfg.CONF
|
||||
|
||||
|
||||
class TagsController(object):
|
||||
def __init__(self, db_api=None, policy_enforcer=None, notifier=None,
|
||||
|
@ -17,7 +17,6 @@ import operator
|
||||
import uuid
|
||||
|
||||
from enum import Enum
|
||||
from oslo_config import cfg
|
||||
from oslo_db import exception as db_exc
|
||||
import sqlalchemy
|
||||
from sqlalchemy import and_
|
||||
@ -36,8 +35,6 @@ from oslo_log import log as os_logging
|
||||
|
||||
LOG = os_logging.getLogger(__name__)
|
||||
|
||||
CONF = cfg.CONF
|
||||
|
||||
|
||||
class Visibility(Enum):
|
||||
PRIVATE = 'private'
|
||||
|
@ -16,7 +16,6 @@
|
||||
# under the License.
|
||||
import datetime
|
||||
|
||||
from oslo_config import cfg
|
||||
from oslo_serialization import jsonutils
|
||||
from oslo_utils import encodeutils
|
||||
import routes
|
||||
@ -29,8 +28,6 @@ from glance.common import wsgi
|
||||
from glance.tests.unit import base
|
||||
from glance.tests import utils as test_utils
|
||||
|
||||
CONF = cfg.CONF
|
||||
|
||||
|
||||
class FakeResource(object):
|
||||
"""
|
||||
|
@ -19,7 +19,6 @@ import datetime
|
||||
import uuid
|
||||
|
||||
import mock
|
||||
from oslo_config import cfg
|
||||
from oslo_serialization import jsonutils
|
||||
import routes
|
||||
import six
|
||||
@ -36,8 +35,6 @@ from glance.registry.api import v1 as rserver
|
||||
from glance.tests.unit import base
|
||||
from glance.tests import utils as test_utils
|
||||
|
||||
CONF = cfg.CONF
|
||||
|
||||
_gen_uuid = lambda: str(uuid.uuid4())
|
||||
|
||||
UUID1 = _gen_uuid()
|
||||
|
@ -18,7 +18,6 @@ import uuid
|
||||
|
||||
import glance_store as store
|
||||
import mock
|
||||
from oslo_config import cfg
|
||||
from oslo_serialization import jsonutils
|
||||
import six
|
||||
# NOTE(jokke): simplified transition to py3, behaves like py2 xrange
|
||||
@ -39,8 +38,6 @@ DATETIME = datetime.datetime(2012, 5, 16, 15, 27, 36, 325355)
|
||||
ISOTIME = '2012-05-16T15:27:36Z'
|
||||
|
||||
|
||||
CONF = cfg.CONF
|
||||
|
||||
BASE_URI = unit_test_utils.BASE_URI
|
||||
|
||||
|
||||
|
@ -18,7 +18,6 @@
|
||||
import datetime
|
||||
import uuid
|
||||
|
||||
from oslo_config import cfg
|
||||
from oslo_serialization import jsonutils
|
||||
import routes
|
||||
import six
|
||||
@ -34,8 +33,6 @@ from glance.registry.api import v2 as rserver
|
||||
from glance.tests.unit import base
|
||||
from glance.tests import utils as test_utils
|
||||
|
||||
CONF = cfg.CONF
|
||||
|
||||
_gen_uuid = lambda: str(uuid.uuid4())
|
||||
|
||||
UUID1 = _gen_uuid()
|
||||
|
Loading…
Reference in New Issue
Block a user