mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-16 04:11:01 +00:00
Do not log duplicate cached URLs
This commit is contained in:
parent
59772e4837
commit
3fd9e6db2b
2 changed files with 4 additions and 2 deletions
|
|
@ -11,6 +11,8 @@
|
|||
|
||||
* The content size of downloads is now shown again.
|
||||
|
||||
* Make output more concise by not logging duplicate cached URLs.
|
||||
|
||||
5.0.2 "All the boys love Mandy Lane" (released 13.2.2009)
|
||||
|
||||
* Properly detect location of the log configuration file in the Windows
|
||||
|
|
|
|||
|
|
@ -52,9 +52,9 @@ class Logger (object):
|
|||
"""Determine if URL entry should be logged or not."""
|
||||
if self.complete:
|
||||
return True
|
||||
if url_data.cached and url_data.valid:
|
||||
return False
|
||||
if self.verbose:
|
||||
if url_data.cached and url_data.valid:
|
||||
return False
|
||||
return True
|
||||
has_warnings = False
|
||||
for tag, dummy in url_data.warnings:
|
||||
|
|
|
|||
Loading…
Reference in a new issue