diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-12-04 01:52:07 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-12-15 02:42:43 +0900 |
commit | 9dfc5e7efe599a6a0b5fdbeaf74b0fed29ba5bd6 (patch) | |
tree | bde502558f9c5f44eda814459826901797064085 /sphinx/directives/patches.py | |
parent | 53917f228f9bfbb4607b6441119baeb129869b93 (diff) | |
download | sphinx-git-9dfc5e7efe599a6a0b5fdbeaf74b0fed29ba5bd6.tar.gz |
Add docutils-stubs to test deps
Diffstat (limited to 'sphinx/directives/patches.py')
-rw-r--r-- | sphinx/directives/patches.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 |