Unify expression of terms in the log message

This commit is contained in:
cocoatomo 2018-02-07 10:52:28 +09:00
parent 51a0f709b5
commit 9b39e5e87f

View File

@ -214,7 +214,7 @@ class SphinxComponentRegistry(object):
parser_class = self.source_parsers.get('*')
if parser_class is None:
raise SphinxError(__('Source parser for %s not registered') % filename)
raise SphinxError(__('source_parser for %s not registered') % filename)
else:
if isinstance(parser_class, string_types):
parser_class = import_object(parser_class, 'source parser') # type: ignore