From ca8ea4a2be495ed27fc73e0ed7f7570cef45570e Mon Sep 17 00:00:00 2001 From: calvin Date: Mon, 15 May 2006 18:35:37 +0000 Subject: [PATCH] print in-progress URLs on status git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3189 e7d03fd6-7b0d-0410-9947-9c21f3af8025 --- linkcheck/director/status.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/linkcheck/director/status.py b/linkcheck/director/status.py index 673e0798..cc207de9 100644 --- a/linkcheck/director/status.py +++ b/linkcheck/director/status.py @@ -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,