mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-15 18:13:09 +00:00
use setThreads
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@1138 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
a5ca1a97ca
commit
a954c1d998
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue