make debug() function assert'able

git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2981 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
calvin 2005-12-18 08:17:18 +00:00
parent d28567753b
commit a22d055d0b

View file

@ -76,6 +76,7 @@ def debug (logname, msg, *args, **kwargs):
log = logging.getLogger(logname)
if log.isEnabledFor(logging.DEBUG):
_log(log.debug, msg, args, tb=kwargs.get("tb"))
return True
def info (logname, msg, *args, **kwargs):