print in-progress URLs on status

git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3189 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
calvin 2006-05-15 18:35:37 +00:00
parent ac682df355
commit ca8ea4a2be

View file

@ -82,8 +82,10 @@ def disable_status ():
def print_status (urlqueue, start_time):
duration = time.time() - start_time
checked, unfinished, tocheck = urlqueue.status()
msg = _n("%5d URL queued,", "%5d URLs queued,", tocheck) % tocheck
checked, in_progress, queue = urlqueue.status()
msg = _n("%2d URL active,", "%2d URLs active,", in_progress) % in_progress
print >> stderr, msg,
msg = _n("%5d URL queued,", "%5d URLs queued,", queue) % queue
print >> stderr, msg,
msg = _n("%4d URL checked,", "%4d URLs checked,", checked) % checked
print >> stderr, msg,