summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--oslo_middleware/_i18n.py (renamed from oslo_middleware/i18n.py)0
-rw-r--r--oslo_middleware/catch_errors.py2
-rw-r--r--oslo_middleware/healthcheck/disable_by_file.py2
-rw-r--r--oslo_middleware/sizelimit.py2
-rw-r--r--tox.ini2
5 files changed, 4 insertions, 4 deletions
diff --git a/oslo_middleware/i18n.py b/oslo_middleware/_i18n.py
index 2025741..2025741 100644
--- a/oslo_middleware/i18n.py
+++ b/oslo_middleware/_i18n.py
diff --git a/oslo_middleware/catch_errors.py b/oslo_middleware/catch_errors.py
index 89b4bd9..5004859 100644
--- a/oslo_middleware/catch_errors.py
+++ b/oslo_middleware/catch_errors.py
@@ -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__)
diff --git a/oslo_middleware/healthcheck/disable_by_file.py b/oslo_middleware/healthcheck/disable_by_file.py
index 7e964a4..05d61bf 100644
--- a/oslo_middleware/healthcheck/disable_by_file.py
+++ b/oslo_middleware/healthcheck/disable_by_file.py
@@ -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__)
diff --git a/oslo_middleware/sizelimit.py b/oslo_middleware/sizelimit.py
index d3f3039..d4f1ca9 100644
--- a/oslo_middleware/sizelimit.py
+++ b/oslo_middleware/sizelimit.py
@@ -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',
diff --git a/tox.ini b/tox.ini
index ea321a6..189804e 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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