fix exception test

git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2640 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
calvin 2005-06-02 21:54:41 +00:00
parent 0502071f5c
commit c9239135b1

View file

@ -189,7 +189,7 @@ def exception (logname, msg, *args, **kwargs):
return: None
"""
log = logging.getLogger(logname)
if log.isEnabledFor(logging.EXCEPTION):
if log.isEnabledFor(logging.ERROR):
_log(log.exception, msg, args, tb=kwargs.get("tb"))