summaryrefslogtreecommitdiff
path: root/openstackclient/i18n.py
diff options
context:
space:
mode:
authoryfzhao <dsware@126.com>2017-03-21 14:40:28 +0800
committeryfzhao <dsware@126.com>2017-03-21 17:23:09 +0800
commit535def34473565135c44e7870aab03a4ac1614aa (patch)
tree062268b7da09103430003570aa39f88624b24833 /openstackclient/i18n.py
parent6329c04297f7f08159eb1e9a0e3c089e188397af (diff)
downloadpython-openstackclient-535def34473565135c44e7870aab03a4ac1614aa.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. Change-Id: I504de69b2e64250740ebcab432042a16f966fdbe Closes-Bug: #1674584
Diffstat (limited to 'openstackclient/i18n.py')
-rw-r--r--openstackclient/i18n.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/openstackclient/i18n.py b/openstackclient/i18n.py
index 1d09772c..7564c60f 100644
--- a/openstackclient/i18n.py
+++ b/openstackclient/i18n.py
@@ -19,13 +19,3 @@ _translators = oslo_i18n.TranslatorFactory(domain='openstackclient')
# 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