mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
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:
parent
111b9e623b
commit
ee7a44656a
@ -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' %
|
||||
|
Loading…
Reference in New Issue
Block a user