TrivialFix: Remove cfg import unused
This patch removes cfg import unused in glance/api/v2/metadef_objects.py and glance/api/v3/router.py Change-Id: I97c75ab9e844423e911a3b83c9e27878c6578c6b
This commit is contained in:
parent
30f7a3c308
commit
ae7e9fc4fa
|
@ -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
|
||||
|
@ -35,8 +34,6 @@ import glance.schema
|
|||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
CONF = cfg.CONF
|
||||
|
||||
|
||||
class MetadefObjectsController(object):
|
||||
def __init__(self, db_api=None, policy_enforcer=None, notifier=None):
|
||||
|
|
|
@ -12,14 +12,12 @@
|
|||
# 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_log import versionutils
|
||||
|
||||
from glance.common import wsgi
|
||||
from glance.i18n import _LW
|
||||
|
||||
CONF = cfg.CONF
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
|
Loading…
Reference in New Issue