]> granicus.if.org Git - python/commitdiff
use the awesome new status iterator
authorBenjamin Peterson <benjamin@python.org>
Sun, 29 Mar 2009 21:50:14 +0000 (21:50 +0000)
committerBenjamin Peterson <benjamin@python.org>
Sun, 29 Mar 2009 21:50:14 +0000 (21:50 +0000)
Doc/tools/sphinxext/pyspecific.py

index e6f8d43531cdbae8ca45e7df360fa9ddfcc7bd7e..f00a89975242e84fa2d91390046bd33cf8a87643 100644 (file)
@@ -74,7 +74,9 @@ class PydocTopicsBuilder(Builder):
 
     def write(self, *ignored):
         writer = TextWriter(self)
-        for label in self.status_iterator(pydoc_topic_labels, 'building topics... '):
+        for label in self.status_iterator(pydoc_topic_labels,
+                                          'building topics... ',
+                                          length=len(pydoc_topic_labels)):
             if label not in self.env.labels:
                 self.warn('label %r not in documentation' % label)
                 continue