Merge "TrivialFix: Remove cfg import unused"
This commit is contained in:
@@ -21,7 +21,6 @@ from barbican.api.controllers import quotas
|
|||||||
from barbican.api.controllers import secrets
|
from barbican.api.controllers import secrets
|
||||||
from barbican.api.controllers import secretstores
|
from barbican.api.controllers import secretstores
|
||||||
from barbican.api.controllers import transportkeys
|
from barbican.api.controllers import transportkeys
|
||||||
from barbican.common import config
|
|
||||||
from barbican.common import utils
|
from barbican.common import utils
|
||||||
from barbican import i18n as u
|
from barbican import i18n as u
|
||||||
from barbican import version
|
from barbican import version
|
||||||
@@ -29,9 +28,6 @@ from barbican import version
|
|||||||
LOG = utils.getLogger(__name__)
|
LOG = utils.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
CONF = config.CONF
|
|
||||||
|
|
||||||
|
|
||||||
MIME_TYPE_JSON = 'application/json'
|
MIME_TYPE_JSON = 'application/json'
|
||||||
MIME_TYPE_JSON_HOME = 'application/json-home'
|
MIME_TYPE_JSON_HOME = 'application/json-home'
|
||||||
MEDIA_TYPE_JSON = 'application/vnd.openstack.key-manager-%s+json'
|
MEDIA_TYPE_JSON = 'application/vnd.openstack.key-manager-%s+json'
|
||||||
|
@@ -19,12 +19,10 @@ purposes only.
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
from barbican.api import middleware
|
from barbican.api import middleware
|
||||||
from barbican.common import config
|
|
||||||
from barbican.common import utils
|
from barbican.common import utils
|
||||||
from barbican import i18n as u
|
from barbican import i18n as u
|
||||||
|
|
||||||
LOG = utils.getLogger(__name__)
|
LOG = utils.getLogger(__name__)
|
||||||
CONF = config.CONF
|
|
||||||
|
|
||||||
|
|
||||||
class SimpleFilter(middleware.Middleware):
|
class SimpleFilter(middleware.Middleware):
|
||||||
|
@@ -28,7 +28,6 @@ except ImportError:
|
|||||||
|
|
||||||
from oslo_service import service
|
from oslo_service import service
|
||||||
|
|
||||||
from barbican.common import config
|
|
||||||
from barbican.common import utils
|
from barbican.common import utils
|
||||||
from barbican import i18n as u
|
from barbican import i18n as u
|
||||||
from barbican.model import models
|
from barbican.model import models
|
||||||
@@ -42,8 +41,6 @@ if newrelic_loaded:
|
|||||||
|
|
||||||
LOG = utils.getLogger(__name__)
|
LOG = utils.getLogger(__name__)
|
||||||
|
|
||||||
CONF = config.CONF
|
|
||||||
|
|
||||||
|
|
||||||
# Maps the common/shared RetryTasks (returned from lower-level business logic
|
# Maps the common/shared RetryTasks (returned from lower-level business logic
|
||||||
# and plugin processing) to top-level RPC tasks in the Tasks class below.
|
# and plugin processing) to top-level RPC tasks in the Tasks class below.
|
||||||
|
Reference in New Issue
Block a user