mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-01 05:30:26 +00:00
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:
parent
7afe60c841
commit
0d39d6139f
1 changed files with 2 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue