summaryrefslogtreecommitdiff
path: root/sphinx/util/docutils.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2020-03-01 01:55:37 +0900
committerGitHub <noreply@github.com>2020-03-01 01:55:37 +0900
commit42777588edf60957ac11de661f0ce47c4ec2c6e3 (patch)
treed42e8d7792d2c352e7c81417c61ec80cffd40690 /sphinx/util/docutils.py
parent942dbc6be6db6fed580b16e3295d1b408b29cf94 (diff)
parentf965829cd049b986beafd561e3221784d98e199d (diff)
downloadsphinx-git-42777588edf60957ac11de661f0ce47c4ec2c6e3.tar.gz
Merge pull request #7224 from tk0miya/7223_slow_builds
Fix #7223: Sphinx builds has been slower since 2.4.0
Diffstat (limited to 'sphinx/util/docutils.py')
-rw-r--r--sphinx/util/docutils.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/sphinx/util/docutils.py b/sphinx/util/docutils.py
index 23f2c888b..3fbd8a420 100644
--- a/sphinx/util/docutils.py
+++ b/sphinx/util/docutils.py
@@ -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)