Merge "use oslo.log instead of logging"

This commit is contained in:
Jenkins 2017-01-17 21:19:33 +00:00 committed by Gerrit Code Review
commit 3a36cc2d0a
15 changed files with 15 additions and 16 deletions

View File

@ -21,10 +21,10 @@ provides.
import copy import copy
import functools import functools
import logging
from oslo_config import cfg from oslo_config import cfg
from oslo_context import context as oslo_context from oslo_context import context as oslo_context
from oslo_log import log as logging
from pycadf import cadftaxonomy as taxonomy from pycadf import cadftaxonomy as taxonomy
from pycadf import cadftype from pycadf import cadftype
from pycadf import reason from pycadf import reason

View File

@ -11,9 +11,9 @@
# under the License. # under the License.
import collections import collections
import logging
import re import re
from oslo_log import log as logging
from oslo_serialization import jsonutils from oslo_serialization import jsonutils
from pycadf import cadftaxonomy as taxonomy from pycadf import cadftaxonomy as taxonomy
from pycadf import cadftype from pycadf import cadftype

View File

@ -215,7 +215,6 @@ object is stored.
import binascii import binascii
import copy import copy
import datetime import datetime
import logging
import warnings import warnings
from keystoneauth1 import access from keystoneauth1 import access
@ -226,6 +225,7 @@ from keystoneauth1 import loading
from keystoneauth1.loading import session as session_loading from keystoneauth1.loading import session as session_loading
from keystoneclient.common import cms from keystoneclient.common import cms
from keystoneclient import exceptions as ksc_exceptions from keystoneclient import exceptions as ksc_exceptions
from oslo_log import log as logging
from oslo_serialization import jsonutils from oslo_serialization import jsonutils
import six import six
import webob.dec import webob.dec

View File

@ -10,13 +10,12 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
import logging
from keystoneauth1 import discover from keystoneauth1 import discover
from keystoneauth1.identity import v2 from keystoneauth1.identity import v2
from keystoneauth1 import plugin from keystoneauth1 import plugin
from keystoneauth1 import token_endpoint from keystoneauth1 import token_endpoint
from oslo_config import cfg from oslo_config import cfg
from oslo_log import log as logging
from keystonemiddleware.auth_token import _base from keystonemiddleware.auth_token import _base
from keystonemiddleware.i18n import _, _LW from keystonemiddleware.i18n import _, _LW

View File

@ -21,9 +21,9 @@
import collections import collections
import contextlib import contextlib
import itertools import itertools
import logging
import time import time
from oslo_log import log as logging
from six.moves import queue from six.moves import queue
from keystonemiddleware.i18n import _LC from keystonemiddleware.i18n import _LC

View File

@ -11,9 +11,9 @@
# under the License. # under the License.
import datetime import datetime
import logging
import os import os
from oslo_log import log as logging
from oslo_serialization import jsonutils from oslo_serialization import jsonutils
from oslo_utils import timeutils from oslo_utils import timeutils

View File

@ -10,11 +10,11 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
import logging
import os import os
import stat import stat
import tempfile import tempfile
from oslo_log import log as logging
import six import six
from keystonemiddleware.auth_token import _exceptions as exc from keystonemiddleware.auth_token import _exceptions as exc

View File

@ -18,9 +18,9 @@
"""Starting point for routing EC2 requests.""" """Starting point for routing EC2 requests."""
import hashlib import hashlib
import logging
from oslo_config import cfg from oslo_config import cfg
from oslo_log import log as logging
from oslo_serialization import jsonutils from oslo_serialization import jsonutils
import requests import requests
import six import six

View File

@ -10,11 +10,11 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
import logging
import uuid import uuid
import fixtures import fixtures
from keystoneauth1 import fixture as client_fixtures from keystoneauth1 import fixture as client_fixtures
from oslo_log import log as logging
from oslo_utils import timeutils from oslo_utils import timeutils
from positional import positional from positional import positional

View File

@ -31,9 +31,9 @@ This WSGI component:
""" """
import logging
import webob import webob
from oslo_log import log as logging
from oslo_serialization import jsonutils from oslo_serialization import jsonutils
from oslo_utils import strutils from oslo_utils import strutils
import requests import requests

View File

@ -10,11 +10,10 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
import logging
import fixtures import fixtures
from oslo_config import cfg from oslo_config import cfg
from oslo_config import fixture as cfg_fixture from oslo_config import fixture as cfg_fixture
from oslo_log import log as logging
from requests_mock.contrib import fixture as rm_fixture from requests_mock.contrib import fixture as rm_fixture
import six import six
from six.moves import http_client from six.moves import http_client

View File

@ -10,12 +10,12 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
import logging
import uuid import uuid
from keystoneauth1 import fixture from keystoneauth1 import fixture
from keystoneauth1 import plugin as ksa_plugin from keystoneauth1 import plugin as ksa_plugin
from keystoneauth1 import session from keystoneauth1 import session
from oslo_log import log as logging
from requests_mock.contrib import fixture as rm_fixture from requests_mock.contrib import fixture as rm_fixture
import six import six

View File

@ -13,7 +13,6 @@
# under the License. # under the License.
import datetime import datetime
import logging
import os import os
import shutil import shutil
import stat import stat
@ -29,6 +28,7 @@ from keystoneauth1 import session
from keystoneclient.common import cms from keystoneclient.common import cms
from keystoneclient import exceptions as ksc_exceptions from keystoneclient import exceptions as ksc_exceptions
import mock import mock
from oslo_log import log as logging
from oslo_serialization import jsonutils from oslo_serialization import jsonutils
from oslo_utils import timeutils from oslo_utils import timeutils
import pbr.version import pbr.version

View File

@ -10,7 +10,6 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
import logging
import sys import sys
import time import time
import uuid import uuid
@ -18,6 +17,7 @@ import warnings
import fixtures import fixtures
import mock import mock
from oslo_log import log as logging
import oslotest.base as oslotest import oslotest.base as oslotest
import requests import requests
import webob import webob

View File

@ -6,6 +6,7 @@ keystoneauth1>=2.17.0 # Apache-2.0
oslo.config!=3.18.0,>=3.14.0 # Apache-2.0 oslo.config!=3.18.0,>=3.14.0 # Apache-2.0
oslo.context>=2.9.0 # Apache-2.0 oslo.context>=2.9.0 # Apache-2.0
oslo.i18n>=2.1.0 # Apache-2.0 oslo.i18n>=2.1.0 # Apache-2.0
oslo.log>=3.11.0 # Apache-2.0
oslo.serialization>=1.10.0 # Apache-2.0 oslo.serialization>=1.10.0 # Apache-2.0
oslo.utils>=3.18.0 # Apache-2.0 oslo.utils>=3.18.0 # Apache-2.0
pbr>=1.8 # Apache-2.0 pbr>=1.8 # Apache-2.0