Skip to content

TriggerMenuMT: Use lazy string formatting in logging calls

Frank Winklmeier requested to merge fwinkl/athena:menu_flake8 into master

Replace logging calls of type log.debug('Hello %s' % 'world') with log.debug('Hello %s', 'world') as the latter only evaluates the string formatting if the message is actually being printed. This fixes the failures in the flake8 unit test of TriggerMenuMT.

Merge request reports