summaryrefslogtreecommitdiff
path: root/oslo_policy/_i18n.py
diff options
context:
space:
mode:
authorloooosy <syluo5695@fiberhome.com>2017-03-21 14:22:55 +0800
committerSiyi Luo <syluo5695@fiberhome.com>2017-03-22 14:13:15 +0000
commit5d461fae600e56066a71204f5316a01f1e4da981 (patch)
treed3ec4ce9d3a2c6221ad583ccd563f1c5b8da8046 /oslo_policy/_i18n.py
parent886d8c6dabc05937be9fbec840fc3849badc55cd (diff)
downloadoslo-policy-5d461fae600e56066a71204f5316a01f1e4da981.tar.gz
Remove log translations
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: I1201cab3686a3689c4d24d6da4ddef87fcd04f13
Diffstat (limited to 'oslo_policy/_i18n.py')
-rw-r--r--oslo_policy/_i18n.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/oslo_policy/_i18n.py b/oslo_policy/_i18n.py
index 87b3f5b..7d9edf3 100644
--- a/oslo_policy/_i18n.py
+++ b/oslo_policy/_i18n.py
@@ -23,13 +23,3 @@ _translators = oslo_i18n.TranslatorFactory(domain='oslo_policy')
# 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