mirror of https://github.com/python/cpython.git
sort the urls in the todo list
This commit is contained in:
parent
62320c9b9b
commit
6eb9d32c43
|
@ -297,7 +297,9 @@ def run(self):
|
|||
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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue