From 9dfc5e7efe599a6a0b5fdbeaf74b0fed29ba5bd6 Mon Sep 17 00:00:00 2001 From: Takeshi KOMIYA Date: Tue, 4 Dec 2018 01:52:07 +0900 Subject: Add docutils-stubs to test deps --- sphinx/directives/patches.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sphinx/directives/patches.py') diff --git a/sphinx/directives/patches.py b/sphinx/directives/patches.py index e4088af07..1b9d52ac7 100644 --- a/sphinx/directives/patches.py +++ b/sphinx/directives/patches.py @@ -62,10 +62,10 @@ class Meta(html.Meta, SphinxDirective): meta = node.details['nodes'][0] meta.source = self.env.doc2path(self.env.docname) meta.line = self.lineno - meta.rawcontent = meta['content'] + meta.rawcontent = meta['content'] # type: ignore # docutils' meta nodes aren't picklable because the class is nested - meta.__class__ = addnodes.meta + meta.__class__ = addnodes.meta # type: ignore return result -- cgit v1.2.1