Update 'logging' imports to openstack-common
Change-Id: Ia1a7b5062e7f882971f2061274f6a4a44cfc8ced
This commit is contained in:
@@ -15,7 +15,6 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
import logging
|
||||
import os
|
||||
import sys
|
||||
import time
|
||||
@@ -24,6 +23,7 @@ from glance.common import exception
|
||||
from glance.common import utils
|
||||
from glance.openstack.common import cfg
|
||||
from glance.openstack.common import importutils
|
||||
import glance.openstack.common.log as logging
|
||||
from glance import registry
|
||||
from glance.store import location
|
||||
|
||||
|
||||
@@ -17,10 +17,9 @@
|
||||
|
||||
"""Base class for all storage backends"""
|
||||
|
||||
import logging
|
||||
|
||||
from glance.common import exception
|
||||
from glance.openstack.common import importutils
|
||||
import glance.openstack.common.log as logging
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
@@ -21,13 +21,13 @@ A simple filesystem-backed store
|
||||
|
||||
import errno
|
||||
import hashlib
|
||||
import logging
|
||||
import os
|
||||
import urlparse
|
||||
|
||||
from glance.common import exception
|
||||
from glance.common import utils
|
||||
from glance.openstack.common import cfg
|
||||
import glance.openstack.common.log as logging
|
||||
import glance.store
|
||||
import glance.store.base
|
||||
import glance.store.location
|
||||
|
||||
@@ -16,10 +16,10 @@
|
||||
# under the License.
|
||||
|
||||
import httplib
|
||||
import logging
|
||||
import urlparse
|
||||
|
||||
from glance.common import exception
|
||||
import glance.openstack.common.log as logging
|
||||
import glance.store.base
|
||||
import glance.store.location
|
||||
|
||||
|
||||
@@ -39,11 +39,11 @@ that it stores in its storage backends. It **does contain** security
|
||||
credentials and is **not** user-facing.
|
||||
"""
|
||||
|
||||
import logging
|
||||
import urlparse
|
||||
|
||||
from glance.common import exception
|
||||
from glance.common import utils
|
||||
import glance.openstack.common.log as logging
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
@@ -21,11 +21,11 @@ from __future__ import absolute_import
|
||||
from __future__ import with_statement
|
||||
|
||||
import hashlib
|
||||
import logging
|
||||
import math
|
||||
|
||||
from glance.common import exception
|
||||
from glance.openstack.common import cfg
|
||||
import glance.openstack.common.log as logging
|
||||
import glance.store
|
||||
import glance.store.base
|
||||
import glance.store.location
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
|
||||
import hashlib
|
||||
import httplib
|
||||
import logging
|
||||
import re
|
||||
import tempfile
|
||||
import urlparse
|
||||
@@ -27,6 +26,7 @@ import urlparse
|
||||
from glance.common import exception
|
||||
from glance.common import utils
|
||||
from glance.openstack.common import cfg
|
||||
import glance.openstack.common.log as logging
|
||||
import glance.store
|
||||
import glance.store.base
|
||||
import glance.store.location
|
||||
|
||||
@@ -17,12 +17,12 @@
|
||||
|
||||
import calendar
|
||||
import eventlet
|
||||
import logging
|
||||
import os
|
||||
import time
|
||||
|
||||
from glance.common import utils
|
||||
from glance.openstack.common import cfg
|
||||
import glance.openstack.common.log as logging
|
||||
from glance import registry
|
||||
from glance.registry import client
|
||||
from glance import store
|
||||
|
||||
@@ -21,13 +21,13 @@ from __future__ import absolute_import
|
||||
|
||||
import hashlib
|
||||
import httplib
|
||||
import logging
|
||||
import math
|
||||
import urllib
|
||||
import urlparse
|
||||
|
||||
from glance.common import exception
|
||||
from glance.openstack.common import cfg
|
||||
import glance.openstack.common.log as logging
|
||||
import glance.store
|
||||
import glance.store.base
|
||||
import glance.store.location
|
||||
|
||||
Reference in New Issue
Block a user