sort the urls in the todo list

This commit is contained in:
Guido van Rossum 1998-06-15 12:33:02 +00:00
parent 62320c9b9b
commit 6eb9d32c43
1 changed files with 3 additions and 1 deletions

View File

@ -297,7 +297,9 @@ class Checker:
print
print "Round %d (%s)" % (self.round, self.status())
print
urls = self.todo.keys()[:self.roundsize]
urls = self.todo.keys()
urls.sort()
del urls[self.roundsize:]
for url in urls:
self.dopage(url)