Move i18n module to a private name

The i18n module for this library is private to the library and should
never be used by outside code. Rename the module to reflect this.

Change-Id: I39149056daeeb27428b938fb9cd7278cd42f2444
This commit is contained in:
Doug Hellmann 2015-01-21 19:48:41 -05:00
parent c46b2c684e
commit 3bc703b823
5 changed files with 4 additions and 4 deletions

View File

@ -18,8 +18,8 @@ import logging
import webob.dec
import webob.exc
from oslo_middleware._i18n import _LE
from oslo_middleware import base
from oslo_middleware.i18n import _LE
LOG = logging.getLogger(__name__)

View File

@ -16,8 +16,8 @@
import logging
import os
from oslo_middleware._i18n import _LW
from oslo_middleware.healthcheck import pluginbase
from oslo_middleware.i18n import _LW
LOG = logging.getLogger(__name__)

View File

@ -22,8 +22,8 @@ from oslo_config import cfgfilter
import webob.dec
import webob.exc
from oslo_middleware._i18n import _
from oslo_middleware import base
from oslo_middleware.i18n import _
_oldopts = [cfg.DeprecatedOpt('osapi_max_request_body_size',

View File

@ -37,4 +37,4 @@ ignore = E123,E125,H305,H803,H904
exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,__init__.py
[hacking]
import_exceptions = oslo_middleware.i18n
import_exceptions = oslo_middleware._i18n