switch to oslo_serialization
oslo.serialization 1.2.0 has moved its namespace from old oslo.serialization to oslo_serialization, the old import style can still work, but will not be supported in next release cycle. Let's sync it. Change-Id: I736ac975c50b2550548fde054c7840960435a698
This commit is contained in:
parent
ce34a4eae0
commit
1ff93a221e
@ -15,9 +15,9 @@
|
||||
"""Rest alarm notifier."""
|
||||
|
||||
import eventlet
|
||||
from oslo.serialization import jsonutils
|
||||
from oslo_config import cfg
|
||||
from oslo_context import context
|
||||
from oslo_serialization import jsonutils
|
||||
import requests
|
||||
import six.moves.urllib.parse as urlparse
|
||||
|
||||
|
@ -14,9 +14,9 @@
|
||||
# under the License.
|
||||
|
||||
import oslo.messaging
|
||||
from oslo.serialization import jsonutils
|
||||
from oslo_config import cfg
|
||||
from oslo_context import context
|
||||
from oslo_serialization import jsonutils
|
||||
|
||||
DEFAULT_URL = "__default__"
|
||||
TRANSPORTS = {}
|
||||
|
@ -20,8 +20,8 @@ import os
|
||||
|
||||
from oslo.db import exception as dbexc
|
||||
from oslo.db.sqlalchemy import session as db_session
|
||||
from oslo.serialization import jsonutils
|
||||
from oslo_config import cfg
|
||||
from oslo_serialization import jsonutils
|
||||
from oslo_utils import timeutils
|
||||
import six
|
||||
import sqlalchemy as sa
|
||||
|
@ -13,7 +13,7 @@
|
||||
import hashlib
|
||||
|
||||
import migrate
|
||||
from oslo.serialization import jsonutils
|
||||
from oslo_serialization import jsonutils
|
||||
import sqlalchemy as sa
|
||||
|
||||
|
||||
|
@ -14,9 +14,9 @@
|
||||
# under the License.
|
||||
|
||||
import mock
|
||||
from oslo.serialization import jsonutils
|
||||
from oslo_config import fixture as fixture_config
|
||||
from oslo_context import context
|
||||
from oslo_serialization import jsonutils
|
||||
from oslotest import mockpatch
|
||||
import requests
|
||||
import six.moves.urllib.parse as urlparse
|
||||
|
@ -19,7 +19,7 @@ import uuid
|
||||
|
||||
import mock
|
||||
import oslo.messaging.conffixture
|
||||
from oslo.serialization import jsonutils
|
||||
from oslo_serialization import jsonutils
|
||||
import six
|
||||
from six import moves
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
import base64
|
||||
import datetime
|
||||
|
||||
from oslo.serialization import jsonutils
|
||||
from oslo_serialization import jsonutils
|
||||
import webtest.app
|
||||
|
||||
from ceilometer.publisher import utils
|
||||
|
@ -14,7 +14,7 @@
|
||||
# under the License.
|
||||
"""Tests for ceilometer/publisher/utils.py
|
||||
"""
|
||||
from oslo.serialization import jsonutils
|
||||
from oslo_serialization import jsonutils
|
||||
from oslotest import base
|
||||
|
||||
from ceilometer.publisher import utils
|
||||
|
Loading…
Reference in New Issue
Block a user