From 76fb477ddbbd944c1d228dd6b5a6147ca3e02362 Mon Sep 17 00:00:00 2001 From: yfzhao Date: Tue, 21 Mar 2017 20:36:57 +0800 Subject: [PATCH] Remove log translations Log messages are no longer being translated. This removes all use of the _LE, _LI, _LC, 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: Ie8dbbf473cf114cfa14dbf7ef6d406fbe48615de Closes-bug: #1674670 --- mistralclient/i18n.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/mistralclient/i18n.py b/mistralclient/i18n.py index ed0ab38c..e316797c 100644 --- a/mistralclient/i18n.py +++ b/mistralclient/i18n.py @@ -20,13 +20,3 @@ _translators = oslo_i18n.TranslatorFactory(domain='mistralclient') # 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