use the awesome new status iterator

This commit is contained in:
Benjamin Peterson 2009-03-29 21:50:14 +00:00
parent 83db7652ca
commit c5206b3893
1 changed files with 3 additions and 1 deletions

View 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