From a954c1d998b48c1d81e69dd2028295403ac9dd84 Mon Sep 17 00:00:00 2001 From: calvin Date: Sat, 3 Jan 2004 12:31:59 +0000 Subject: [PATCH] use setThreads git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@1138 e7d03fd6-7b0d-0410-9947-9c21f3af8025 --- linkcheck/lc_cgi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linkcheck/lc_cgi.py b/linkcheck/lc_cgi.py index 24593567..2667e133 100644 --- a/linkcheck/lc_cgi.py +++ b/linkcheck/lc_cgi.py @@ -76,7 +76,7 @@ def checklink (out=sys.stdout, form={}, env=os.environ): config = Config.Configuration() config["recursionlevel"] = int(form["level"].value) config["log"] = config.newLogger('html', {'fd': out}) - config.disableThreading() + config.setThreads(0) if form.has_key('strict'): config['strict'] = True if form.has_key("anchors"): config["anchors"] = True if not form.has_key("errors"): config["verbose"] = True