mirror of https://github.com/python/cpython
sort the urls in the todo list
This commit is contained in:
parent
62320c9b9b
commit
6eb9d32c43
|
@ -297,7 +297,9 @@ class Checker:
|
||||||
print
|
print
|
||||||
print "Round %d (%s)" % (self.round, self.status())
|
print "Round %d (%s)" % (self.round, self.status())
|
||||||
print
|
print
|
||||||
urls = self.todo.keys()[:self.roundsize]
|
urls = self.todo.keys()
|
||||||
|
urls.sort()
|
||||||
|
del urls[self.roundsize:]
|
||||||
for url in urls:
|
for url in urls:
|
||||||
self.dopage(url)
|
self.dopage(url)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue