summaryrefslogtreecommitdiff
path: root/nova/i18n.py
diff options
context:
space:
mode:
authorStephen Finucane <stephenfin@redhat.com>2020-05-18 17:00:02 +0100
committerStephen Finucane <stephenfin@redhat.com>2020-05-18 17:00:57 +0100
commitd565e7a09281b803c47bc8eec3bac9c4959b4987 (patch)
treed09035a806d768899a19cddda20ba0f1b10a0a9b /nova/i18n.py
parent3a28b0e7717145bfb336138fb74a015913195725 (diff)
downloadnova-d565e7a09281b803c47bc8eec3bac9c4959b4987.tar.gz
trivial: Remove remaining '_LI' instances
Once again, do what we did for '_LE' and '_LW' and remove the final remnants of the log translation effort. Change-Id: Id6cf7a9bfbe69d6d3e65303e62403d1db9188a84 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Diffstat (limited to 'nova/i18n.py')
-rw-r--r--nova/i18n.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/nova/i18n.py b/nova/i18n.py
index 57e07072a2..d3bf9ba349 100644
--- a/nova/i18n.py
+++ b/nova/i18n.py
@@ -27,13 +27,6 @@ _translators = oslo_i18n.TranslatorFactory(domain=DOMAIN)
# The primary translation function using the well-known name "_"
_ = _translators.primary
-# Translators for log levels.
-#
-# The abbreviated names are meant to reflect the usual use of a short
-# name like '_'. The "L" is for "log" and the other letter comes from
-# the level.
-_LI = _translators.log_info
-
def translate(value, user_locale):
return oslo_i18n.translate(value, user_locale)