mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix #7223: Sphinx builds has been slower since 2.4.0
This commit is contained in:
parent
942dbc6be6
commit
5330172d54
1
CHANGES
1
CHANGES
@ -17,6 +17,7 @@ Bugs fixed
|
||||
----------
|
||||
|
||||
* #7197: LaTeX: platex cause error to build image directive with target url
|
||||
* #7223: Sphinx builds has been slower since 2.4.0
|
||||
|
||||
Testing
|
||||
--------
|
||||
|
@ -479,8 +479,8 @@ class SphinxTranslator(nodes.NodeVisitor):
|
||||
for node_class in node.__class__.__mro__:
|
||||
method = getattr(self, 'visit_%s' % (node_class.__name__), None)
|
||||
if method:
|
||||
logger.debug('SphinxTranslator.dispatch_visit calling %s for %s' %
|
||||
(method.__name__, node))
|
||||
logger.debug('SphinxTranslator.dispatch_visit calling %s for %s',
|
||||
method.__name__, node)
|
||||
return method(node)
|
||||
else:
|
||||
super().dispatch_visit(node)
|
||||
@ -497,8 +497,8 @@ class SphinxTranslator(nodes.NodeVisitor):
|
||||
for node_class in node.__class__.__mro__:
|
||||
method = getattr(self, 'depart_%s' % (node_class.__name__), None)
|
||||
if method:
|
||||
logger.debug('SphinxTranslator.dispatch_departure calling %s for %s' %
|
||||
(method.__name__, node))
|
||||
logger.debug('SphinxTranslator.dispatch_departure calling %s for %s',
|
||||
method.__name__, node)
|
||||
return method(node)
|
||||
else:
|
||||
super().dispatch_departure(node)
|
||||
|
Loading…
Reference in New Issue
Block a user