From 98144c5fb018fe6c8273bfd5f72f20899fb0d319 Mon Sep 17 00:00:00 2001 From: calvin Date: Tue, 31 Aug 2004 22:23:09 +0000 Subject: [PATCH] remove ccache incoming debug git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@1657 e7d03fd6-7b0d-0410-9947-9c21f3af8025 --- linkcheck/checker/cache.py | 8 -------- linkcheck/checker/consumer.py | 1 - linkcheck/lc_cgi.py | 1 - 3 files changed, 10 deletions(-) diff --git a/linkcheck/checker/cache.py b/linkcheck/checker/cache.py index e4df8d81..64784e78 100644 --- a/linkcheck/checker/cache.py +++ b/linkcheck/checker/cache.py @@ -125,14 +125,6 @@ class Cache (object): finally: self.lock.release() - def incoming_debug (self): - self.lock.acquire() - try: - for u in self.incoming: - linkcheck.log.debug(linkcheck.LOG_CACHE, "url %s", u) - finally: - self.lock.release() - def has_incoming (self, key): self.lock.acquire() try: diff --git a/linkcheck/checker/consumer.py b/linkcheck/checker/consumer.py index 9436090e..47aa323f 100644 --- a/linkcheck/checker/consumer.py +++ b/linkcheck/checker/consumer.py @@ -113,7 +113,6 @@ class Consumer (object): linkcheck.log.warn(linkcheck.LOG_CHECK, _("keyboard interrupt; waiting for %d active threads to finish"), self.active_threads()) - self.cache.incoming_debug() self.lock.acquire() try: self.threader.finish() diff --git a/linkcheck/lc_cgi.py b/linkcheck/lc_cgi.py index fba62649..f5250f61 100644 --- a/linkcheck/lc_cgi.py +++ b/linkcheck/lc_cgi.py @@ -23,7 +23,6 @@ import time import urlparse import types -import linkcheck import linkcheck.configuration import linkcheck.url import linkcheck.strformat