From ec3057ac6680e51a88ba72cee71834b516c96f19 Mon Sep 17 00:00:00 2001 From: Ngo Quoc Cuong Date: Tue, 23 May 2017 16:28:29 +0700 Subject: [PATCH] Remove _LI, _LW, _LE, _LC from i18n Log translation is no longer used, remove translate functions Change-Id: I910aed35ae1de39505cbadea19930a8270d95b82 --- octavia/i18n.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/octavia/i18n.py b/octavia/i18n.py index d9d9d0d654..54e80c3342 100644 --- a/octavia/i18n.py +++ b/octavia/i18n.py @@ -18,13 +18,3 @@ _translators = i18n.TranslatorFactory(domain='octavia') # 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