oslo_vmware.hacking.checks Module¶oslo_vmware.hacking.checks.factory(register)¶oslo_vmware.hacking.checks.no_translate_logs(logical_line, filename)¶N537 - Don’t translate logs.
Check for ‘LOG.*(_(‘
Translators don’t provide translations for log messages, and operators asked not to translate them.
| Parameters: |
|
|---|---|
| Returns: | None if the logical line passes the check, otherwise a tuple is yielded that contains the offending index in logical line and a message describe the check validation failure. |
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.