mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-05 13:14:46 +00:00
use trace filtering
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2607 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
e1e7055e79
commit
45cd2062ee
1 changed files with 2 additions and 0 deletions
|
|
@ -647,6 +647,8 @@ if len(args) <= 0:
|
|||
cache = linkcheck.checker.cache.Cache()
|
||||
consumer = linkcheck.checker.consumer.Consumer(config, cache)
|
||||
if options.trace:
|
||||
config["trace"] = True
|
||||
linkcheck.log.trace_filter([r"^linkcheck"])
|
||||
linkcheck.log.trace()
|
||||
# syntactic sugar
|
||||
for url in args:
|
||||
|
|
|
|||
Loading…
Reference in a new issue