mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-16 18:41:07 +00:00
also warn on graph xml logger when no --verbose was given
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3208 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
078bb141f7
commit
26f6d3b24a
1 changed files with 3 additions and 1 deletions
|
|
@ -638,7 +638,9 @@ assert None == linkcheck.log.debug(linkcheck.LOG_CMDLINE,
|
|||
# warn about sitemap loggers and verbose output
|
||||
klasses = [c.__class__ for c in [config['logger']] + config['fileoutput']]
|
||||
if (linkcheck.logger.gml.GMLLogger in klasses or \
|
||||
linkcheck.logger.dot.DOTLogger in klasses) and not config['verbose']:
|
||||
linkcheck.logger.dot.DOTLogger in klasses or \
|
||||
linkcheck.logger.gxml.GraphXMLLogger in klasses) and \
|
||||
not config['verbose']:
|
||||
linkcheck.log.warn(linkcheck.LOG_CMDLINE,
|
||||
_("Using DOT or GML loggers without verbose output"
|
||||
" gives an incomplete sitemap graph."))
|
||||
|
|
|
|||
Loading…
Reference in a new issue