diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2017-01-18 06:49:17 +0300 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2017-01-19 06:10:00 +0300 |
commit | 491620ee5685e5c509a7b334892ca008bcc4b4a1 (patch) | |
tree | fd064d37b8cc97cb737c932f43686998661b635f /sphinx/ext/ifconfig.py | |
parent | d44ea97e984ad7109851fad5aca9e39ac27304cd (diff) |
Fix mypy violations
Diffstat (limited to 'sphinx/ext/ifconfig.py')
-rw-r--r-- | sphinx/ext/ifconfig.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/ext/ifconfig.py b/sphinx/ext/ifconfig.py index e0ecda026..297e476f5 100644 --- a/sphinx/ext/ifconfig.py +++ b/sphinx/ext/ifconfig.py @@ -57,7 +57,7 @@ class IfConfig(Directive): def process_ifconfig_nodes(app, doctree, docname): # type: (Sphinx, nodes.Node, unicode) -> None - ns = dict((confval.name, confval.value) for confval in app.config) + ns = dict((confval.name, confval.value) for confval in app.config) # type: ignore ns.update(app.config.__dict__.copy()) ns['builder'] = app.builder.name for node in doctree.traverse(ifconfig): |