mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-22 15:14:44 +00:00
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:
parent
d28567753b
commit
a22d055d0b
1 changed files with 1 additions and 0 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue