From 0d39d6139f3ce28b50cd94fa8d201d3ebafd95bf Mon Sep 17 00:00:00 2001 From: calvin Date: Sat, 13 May 2006 18:15:40 +0000 Subject: [PATCH] no active tasks in status git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3150 e7d03fd6-7b0d-0410-9947-9c21f3af8025 --- linkcheck/director/__init__.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/linkcheck/director/__init__.py b/linkcheck/director/__init__.py index a90e6785..06ba8b1c 100644 --- a/linkcheck/director/__init__.py +++ b/linkcheck/director/__init__.py @@ -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