diff options
author | luqitao <qtlu@fiberhome.com> | 2017-03-21 02:26:57 -0400 |
---|---|---|
committer | luqitao <qtlu@fiberhome.com> | 2017-03-21 02:28:06 -0400 |
commit | 1f5e51f732f896fe56d33ffa967b3f1e748af876 (patch) | |
tree | abedfaa15e830c416e12ab7719e8cb0957056e55 | |
parent | 6fcc675245677d581e7aca86757f2f9646d84210 (diff) | |
download | python-ceilometerclient-1f5e51f732f896fe56d33ffa967b3f1e748af876.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: I0dcc1b8e9f0dd51b6892126a2ef010e6f3a2d940
-rw-r--r-- | ceilometerclient/i18n.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/ceilometerclient/i18n.py b/ceilometerclient/i18n.py index c63b55a..26861e3 100644 --- a/ceilometerclient/i18n.py +++ b/ceilometerclient/i18n.py @@ -25,13 +25,3 @@ _translators = oslo_i18n.TranslatorFactory(domain='ceilometerclient') # 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 |