summaryrefslogtreecommitdiff
path: root/sphinx/builders/devhelp.py
diff options
context:
space:
mode:
authorDmitry Shachnev <mitya57@gmail.com>2014-01-20 18:32:47 +0400
committerDmitry Shachnev <mitya57@gmail.com>2014-01-20 18:32:47 +0400
commitc2eaf2af81c1c0bce89ce8e4e43d853ac768c8f3 (patch)
treebb18c53d431f98cb3a33df663efe9093af0775ea /sphinx/builders/devhelp.py
parent8115aa81a2972a5cc20b8d7c244c52e792ecad98 (diff)
parentce2185ce279664e54ba22b14663091abc5a3a8f2 (diff)
downloadsphinx-git-c2eaf2af81c1c0bce89ce8e4e43d853ac768c8f3.tar.gz
Merge
Diffstat (limited to 'sphinx/builders/devhelp.py')
-rw-r--r--sphinx/builders/devhelp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/builders/devhelp.py b/sphinx/builders/devhelp.py
index 81d2e6cee..4595c7c29 100644
--- a/sphinx/builders/devhelp.py
+++ b/sphinx/builders/devhelp.py
@@ -94,7 +94,7 @@ class DevhelpBuilder(StandaloneHTMLBuilder):
def istoctree(node):
return isinstance(node, addnodes.compact_paragraph) and \
- node.has_key('toctree')
+ 'toctree' in node
for node in tocdoc.traverse(istoctree):
write_toc(node, chapters)