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:
ZhiQiang Fan 2015-01-12 20:23:33 +08:00
parent ce34a4eae0
commit 1ff93a221e
8 changed files with 8 additions and 8 deletions

View File

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

View File

@ -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 = {}

View File

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

View File

@ -13,7 +13,7 @@
import hashlib
import migrate
from oslo.serialization import jsonutils
from oslo_serialization import jsonutils
import sqlalchemy as sa

View File

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

View File

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

View File

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

View File

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