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:
Cao Xuan Hoang 2016-08-25 08:55:33 +07:00
parent 30f7a3c308
commit ae7e9fc4fa
2 changed files with 0 additions and 5 deletions

View File

@ -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):

View File

@ -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__)