no active tasks in status

git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3150 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
calvin 2006-05-13 18:15:40 +00:00
parent 7afe60c841
commit 0d39d6139f

View file

@ -98,12 +98,10 @@ def check_urls (aggregate):
def print_status (urlqueue, start_time):
duration = time.time() - start_time
tocheck, tasks, links = urlqueue.status()
checked, unfinished, tocheck = urlqueue.status()
msg = _n("%5d URL queued,", "%5d URLs queued,", tocheck) % tocheck
print >> stderr, msg,
msg = _n("%4d URL checked,", "%4d URLs checked,", links) % links
print >> stderr, msg,
msg = _n("%2d active task,", "%2d active tasks,", tasks) % tasks
msg = _n("%4d URL checked,", "%4d URLs checked,", checked) % checked
print >> stderr, msg,
msg = _("runtime %s") % linkcheck.strformat.strduration_long(duration)
print >> stderr, msg