Merge "Drop use of 'oslo' namespace package"

This commit is contained in:
Jenkins
2015-05-01 16:38:53 +00:00
committed by Gerrit Code Review
4 changed files with 8 additions and 8 deletions

View File

@@ -16,7 +16,7 @@ See http://docs.openstack.org/developer/oslo.i18n/usage.html
"""
import oslo.i18n
import oslo_i18n
# NOTE(dhellmann): This reference to o-s-l-o will be replaced by the
@@ -24,7 +24,7 @@ import oslo.i18n
# repository. It is OK to have more than one translation function
# using the same domain, since there will still only be one message
# catalog.
_translators = oslo.i18n.TranslatorFactory(domain='openstack_auth')
_translators = oslo_i18n.TranslatorFactory(domain='openstack_auth')
# The primary translation function using the well-known name "_"
_ = _translators.primary

View File

@@ -19,7 +19,7 @@ import logging
import os
import tempfile
from oslo.utils import excutils
from oslo_utils import excutils
LOG = logging.getLogger(__name__)

View File

@@ -37,9 +37,9 @@ import socket
import sys
import traceback
from oslo.config import cfg
from oslo.serialization import jsonutils
from oslo.utils import importutils
from oslo_config import cfg
from oslo_serialization import jsonutils
from oslo_utils import importutils
import six
from six import moves

View File

@@ -80,8 +80,8 @@ import ast
import os
import re
from oslo.config import cfg
from oslo.serialization import jsonutils
from oslo_config import cfg
from oslo_serialization import jsonutils
import six
import six.moves.urllib.parse as urlparse
import six.moves.urllib.request as urlrequest