mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-03-31 21:20:28 +00:00
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:
parent
ac682df355
commit
ca8ea4a2be
1 changed files with 4 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue