From faddd9acc3f68a8a606b49e4b5044a2bb4116c01 Mon Sep 17 00:00:00 2001 From: calvin Date: Wed, 17 May 2006 19:56:14 +0000 Subject: [PATCH] catch Timeout from abort git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3239 e7d03fd6-7b0d-0410-9947-9c21f3af8025 --- linkcheck/director/aggregator.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/linkcheck/director/aggregator.py b/linkcheck/director/aggregator.py index 247fdd15..1d8ab2a7 100644 --- a/linkcheck/director/aggregator.py +++ b/linkcheck/director/aggregator.py @@ -94,4 +94,7 @@ class Aggregate (object): def abort (self): self.urlqueue.do_shutdown() - self.urlqueue.join(timeout=10) + try: + self.urlqueue.join(timeout=10) + except linkcheck.cache.urlqueue.Timeout: + pass