summaryrefslogtreecommitdiff
path: root/sphinx/util/docutils.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2020-03-01 02:13:36 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2020-03-01 02:13:36 +0900
commitc84f7bfd572aa217cac1fd4ab457334d8d63bc1b (patch)
tree7daf68b2096d12d00698f46e4ac3ee8503c66489 /sphinx/util/docutils.py
parent201455900a5fe938a1aadb4af37a2b13aeaa44bd (diff)
parent9498dbeb30451f1ad6e143dd5270275355ab5203 (diff)
downloadsphinx-git-c84f7bfd572aa217cac1fd4ab457334d8d63bc1b.tar.gz
Merge branch '2.x' into 3.x
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 4a3f1fab4..3b7b60201 100644
--- a/sphinx/util/docutils.py
+++ b/sphinx/util/docutils.py
@@ -456,8 +456,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)
method(node)
break
else:
@@ -475,8 +475,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)
method(node)
break
else: