mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-13 02:41:03 +00:00
fix logger creation
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@1459 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
5bdea05dff
commit
5a4fc833de
1 changed files with 2 additions and 2 deletions
|
|
@ -392,12 +392,12 @@ if options.fileoutput:
|
|||
except ValueError:
|
||||
pass
|
||||
if linkcheck.Loggers.has_key(ftype):
|
||||
config['fileoutput'].append(config.newLogger(ftype, ns))
|
||||
config['fileoutput'].append(config.logger_new(ftype, **ns))
|
||||
else:
|
||||
printUsage(_("Illegal argument %r for option %s") % \
|
||||
(ftype, "'-F, --file-output'"))
|
||||
if not options.output:
|
||||
config['log'] = config.newLogger('none')
|
||||
config['log'] = config.logger_new('none')
|
||||
if options.interactive is not None:
|
||||
config['interactive'] = options.interactive
|
||||
if options.intern:
|
||||
|
|
|
|||
Loading…
Reference in a new issue