summaryrefslogtreecommitdiff
path: root/keystoneclient/i18n.py
diff options
context:
space:
mode:
authorwingwj <wingwj@gmail.com>2017-03-21 12:55:27 +0800
committerwingwj <wingwj@gmail.com>2017-03-21 14:38:05 +0800
commit1d5774f4983e915f45787e7afd2d290f65cf428c (patch)
tree698ad4790a77991125bebbea3f27d2e3c700afc4 /keystoneclient/i18n.py
parent5cd7f5c8735544b3faca9763298e3389733a8633 (diff)
downloadpython-keystoneclient-1d5774f4983e915f45787e7afd2d290f65cf428c.tar.gz
Remove log translations in python-keystoneclient
Log messages are no longer being translated. This removes all use of the _LE, _LI, and _LW translation markers to simplify logging and to avoid confusion with new contributions. See: http://lists.openstack.org/pipermail/openstack-i18n/2016-November/002574.html http://lists.openstack.org/pipermail/openstack-dev/2017-March/113365.html Change-Id: Ia77819cbb133903d20e821bff0c45766b11ef07b
Diffstat (limited to 'keystoneclient/i18n.py')
-rw-r--r--keystoneclient/i18n.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/keystoneclient/i18n.py b/keystoneclient/i18n.py
index fc9a52b..21879ab 100644
--- a/keystoneclient/i18n.py
+++ b/keystoneclient/i18n.py
@@ -25,13 +25,3 @@ _translators = oslo_i18n.TranslatorFactory(domain='keystoneclient')
# 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
-_LW = _translators.log_warning
-_LE = _translators.log_error
-_LC = _translators.log_critical