Make the i18n integration module private

Rename oslo.utils.i18n to oslo.utils._i18n to highlight the fact that it
is an implementation detail and should not be imported and used by
consumers of oslo.utils.

Change-Id: Ib271f7e1216e3c865929d39749a9fb96237ad4f2
This commit is contained in:
Doug Hellmann 2014-07-23 15:46:45 -04:00
parent 51e6c14a75
commit 64884f0a6e
4 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@ import traceback
import six
from oslo.utils.i18n import _LE
from oslo.utils._i18n import _LE
class save_and_reraise_exception(object):

View File

@ -22,7 +22,7 @@ import socket
from six.moves.urllib import parse
from oslo.utils.i18n import _LW
from oslo.utils._i18n import _LW
LOG = logging.getLogger(__name__)

View File

@ -23,8 +23,8 @@ import unicodedata
import six
from oslo.utils._i18n import _
from oslo.utils import encodeutils
from oslo.utils.i18n import _
UNIT_PREFIX_EXPONENT = {