Merge "Remove unused imports"

This commit is contained in:
Jenkins 2012-11-19 19:04:26 +00:00 committed by Gerrit Code Review
commit f3118e922f
17 changed files with 1 additions and 25 deletions

View File

@ -13,8 +13,6 @@
# License for the specific language governing permissions and limitations
# under the License.
import errno
from glance.common import exception
from glance.openstack.common import log as logging

View File

@ -32,7 +32,6 @@ from glance.api.v1 import images
from glance.common import exception
from glance.common import utils
from glance.common import wsgi
import glance.db
from glance import image_cache
import glance.openstack.common.log as logging
from glance import registry

View File

@ -22,7 +22,6 @@ import urllib
import webob.exc
from glance.api import policy
import glance.api.v2 as v2
from glance.common import exception
from glance.common import utils
from glance.common import wsgi

View File

@ -25,7 +25,6 @@ import functools
import httplib
import os
import re
import select
import urllib
import urlparse

View File

@ -32,9 +32,7 @@ import os
import platform
import subprocess
import sys
import uuid
import iso8601
from webob import exc
from glance.common import exception

View File

@ -40,7 +40,6 @@ import webob.dec
import webob.exc
from glance.common import exception
from glance.common import utils
from glance.openstack.common import cfg
import glance.openstack.common.log as os_logging

View File

@ -42,7 +42,6 @@ credentials and is **not** user-facing.
import urlparse
from glance.common import exception
from glance.common import utils
import glance.openstack.common.log as logging
LOG = logging.getLogger(__name__)

View File

@ -23,7 +23,6 @@ from __future__ import with_statement
import hashlib
import math
import urllib
import urlparse
from glance.common import exception
from glance.openstack.common import cfg

View File

@ -26,10 +26,6 @@ from glance.openstack.common import cfg
import glance.openstack.common.log as logging
from glance import registry
from glance import store
import glance.store.filesystem
import glance.store.http
import glance.store.s3
import glance.store.swift
LOG = logging.getLogger(__name__)

View File

@ -24,7 +24,6 @@ and spinning down the servers.
"""
import datetime
import functools
import json
import os
import re

View File

@ -19,10 +19,9 @@ import hashlib
import httplib2
import json
import os
import tempfile
from glance.tests import functional
from glance.tests.utils import execute, minimal_headers, minimal_add_command
from glance.tests.utils import execute, minimal_headers
FIVE_KB = 5 * 1024
FIVE_GB = 5 * 1024 * 1024 * 1024

View File

@ -15,7 +15,6 @@
# License for the specific language governing permissions and limitations
# under the License.
import os
import time
import httplib2

View File

@ -17,7 +17,6 @@
import stubout
from glance.common import config
from glance.common import exception
from glance import context
from glance.db.sqlalchemy import api as db_api

View File

@ -24,14 +24,12 @@ import boto.s3.connection
import stubout
from glance.common import exception
from glance.openstack.common import cfg
from glance.openstack.common import uuidutils
from glance.store.location import get_location_from_uri
import glance.store.s3
from glance.store.s3 import Store, get_s3_location
from glance.store import UnsupportedBackend
from glance.tests.unit import base
from glance.tests import utils as test_utils
FAKE_UUID = uuidutils.generate_uuid()

View File

@ -24,7 +24,6 @@ import glance.store.location as location
import glance.store.s3
import glance.store.swift
from glance.tests.unit import base
from glance.tests import utils
class TestStoreLocation(base.StoreClearingUnitTest):

View File

@ -27,7 +27,6 @@ from sqlalchemy import exc
import stubout
import webob
import glance.api.middleware.context as context_middleware
import glance.api.common
from glance.api.v1 import images
from glance.api.v1 import router

View File

@ -13,8 +13,6 @@
# License for the specific language governing permissions and limitations
# under the License.
import json
import webob
import glance.api.v2.image_tags