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:
calvin 2004-08-23 21:34:02 +00:00
parent 5bdea05dff
commit 5a4fc833de

View file

@ -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: