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:
parent
51e6c14a75
commit
64884f0a6e
@ -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):
|
||||
|
@ -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__)
|
||||
|
||||
|
@ -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 = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user