mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Unify expression of terms in the log message
This commit is contained in:
parent
51a0f709b5
commit
9b39e5e87f
@ -214,7 +214,7 @@ class SphinxComponentRegistry(object):
|
|||||||
parser_class = self.source_parsers.get('*')
|
parser_class = self.source_parsers.get('*')
|
||||||
|
|
||||||
if parser_class is None:
|
if parser_class is None:
|
||||||
raise SphinxError(__('Source parser for %s not registered') % filename)
|
raise SphinxError(__('source_parser for %s not registered') % filename)
|
||||||
else:
|
else:
|
||||||
if isinstance(parser_class, string_types):
|
if isinstance(parser_class, string_types):
|
||||||
parser_class = import_object(parser_class, 'source parser') # type: ignore
|
parser_class = import_object(parser_class, 'source parser') # type: ignore
|
||||||
|
Loading…
Reference in New Issue
Block a user