Commit 0a46612e authored by Chris Lamb's avatar Chris Lamb 💬

comparators/elf.py: Specify string format arguments as logging function...

comparators/elf.py: Specify string format arguments as logging function parameters, not using interpolation.
Signed-off-by: Chris Lamb's avatarChris Lamb <lamby@debian.org>
parent f51a5f1a
......@@ -356,8 +356,8 @@ class ElfContainer(Container):
logger.debug('adding section %s (%s) as %s', name, type, elf_class)
except Exception as e:
command = ' '.join(cmd)
logger.debug('OutputParsingError in %s from `%s` output - %s:%s'
% (self.__class__.__name__, command, e.__class__.__name__, e))
logger.debug('OutputParsingError in %s from `%s` output - %s:%s',
self.__class__.__name__, command, e.__class__.__name__, e)
raise OutputParsingError(command, self)
if not has_debug_symbols:
self._install_debug_symbols()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment