fix calling convention for debu arguments

The message string has two placeholders, the debug args need to be
unpacked so that all the placeholders are filled.
This commit is contained in:
Bryan Van de Ven 2016-10-20 23:48:18 -05:00 committed by Takeshi KOMIYA
parent 111b9e623b
commit ee7a44656a

View File

@ -800,7 +800,7 @@ class Sphinx(object):
languages[cls.lang] = cls
def add_source_parser(self, suffix, parser):
self.debug('[app] adding search source_parser: %r, %r', (suffix, parser))
self.debug('[app] adding search source_parser: %r, %r', suffix, parser)
if suffix in self._additional_source_parsers:
self.warn('while setting up extension %s: source_parser for %r is '
'already registered, it will be overridden' %