diff options
author | wangzhenyu <wangzy@fiberhome.com> | 2017-03-21 05:04:46 +0800 |
---|---|---|
committer | wangzhenyu <wangzy@fiberhome.com> | 2017-03-21 07:19:21 +0800 |
commit | 36d2358a9da2738d07f307c51171ce2973efb1c1 (patch) | |
tree | 096d486750cdc7d6d7362b2d8b73ecf466c5ce19 | |
parent | ba46e69eeeb100528b1d29836f055feed043ef95 (diff) | |
download | python-glanceclient-36d2358a9da2738d07f307c51171ce2973efb1c1.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: Icf6423763f2d535b2c85c067d6e4a5676914e2c3
-rw-r--r-- | glanceclient/_i18n.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/glanceclient/_i18n.py b/glanceclient/_i18n.py index a099c7f..aca52e8 100644 --- a/glanceclient/_i18n.py +++ b/glanceclient/_i18n.py @@ -19,13 +19,3 @@ _translators = i18n.TranslatorFactory(domain='glanceclient') # 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 |