mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-27 01:24:42 +00:00
fix -t option
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2251 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
35415d072a
commit
22361e8e52
2 changed files with 5 additions and 1 deletions
|
|
@ -58,6 +58,10 @@
|
|||
Type: bugfix
|
||||
Changed: linkcheck/checker/{__init__, consumer}.py
|
||||
|
||||
* Fix crash when using -t option.
|
||||
Type: bugfix
|
||||
Changed: linkchecker
|
||||
|
||||
2.2 "Cube" (released 25.01.2005)
|
||||
|
||||
* CSV log format changes:
|
||||
|
|
|
|||
|
|
@ -516,7 +516,7 @@ if options.threads is not None:
|
|||
if options.threads < 1:
|
||||
print_usage(_("Illegal argument %d for option %s") % \
|
||||
(options.threads, "'-t, --threads'"))
|
||||
config.set_threads(options.threads)
|
||||
config["threads"] = options.threads
|
||||
if options.timeout is not None:
|
||||
if options.timeout > 0:
|
||||
socket.setdefaulttimeout(options.timeout)
|
||||
|
|
|
|||
Loading…
Reference in a new issue