def no_translate_debug_logs(logical_line, filename):
    "Check for 'LOG.debug(_('\n\n    As per our translation policy,\n    https://wiki.openstack.org/wiki/LoggingStandards#Log_Translation\n    we shouldn't translate debug level logs.\n\n    * This check assumes that 'LOG' is a logger.\n    * Use filename so we can start enforcing this in specific folders instead\n      of needing to do so all at once.\n\n    M319\n    "
    if logical_line.startswith('LOG.debug(_('):
        (yield (0, "M319 Don't translate debug level logs"))
Check for 'LOG.debug(_('

As per our translation policy,
https://wiki.openstack.org/wiki/LoggingStandards#Log_Translation
we shouldn't translate debug level logs.

* This check assumes that 'LOG' is a logger.
* Use filename so we can start enforcing this in specific folders instead
  of needing to do so all at once.

M319
def no_translate_debug_logs(logical_line, filename):
    "Check for 'LOG.debug(_('\n\n    As per our translation policy,\n    https://wiki.openstack.org/wiki/LoggingStandards#Log_Translation\n    we shouldn't translate debug level logs.\n\n    * This check assumes that 'LOG' is a logger.\n    * Use filename so we can start enforcing this in specific folders instead\n      of needing to do so all at once.\n\n    M319\n    "
    if logical_line.startswith('LOG.debug(_('):
        (yield (0, "M319 Don't translate debug level logs"))