Modified LogRecord.__init__ to make the func parameter optional. (See SF #1569622).

This commit is contained in:
Vinay Sajip 2006-10-03 18:21:56 +00:00
parent f4686f995e
commit 2c050af28b

View file

@ -214,7 +214,7 @@ class LogRecord:
information to be logged.
"""
def __init__(self, name, level, pathname, lineno,
msg, args, exc_info, func):
msg, args, exc_info, func=None):
"""
Initialize a logging record with interesting information.
"""