Remove translator assignments from i18n
We are cleaning out all calls to logging translation wrappers from ironic. This patch removes the assignments of _LC, _LE, _LI, and _LW from ironic.common.i18n. These must be removed after all the calls to them are removed, otherwise there would be failures as the function calls would no longer resolve. Dependent patches listed are the other standing translation cleanup patches. Closes-Bug: #1674374 Change-Id: I6e44d366cb6754c5c6bdf4a9fdd67dc8b230e397
This commit is contained in:
parent
62fd4d1a6e
commit
61827da6ff
@ -25,13 +25,3 @@ _translators = i18n.TranslatorFactory(domain='ironic')
|
||||
|
||||
# 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user