Kaydet (Commit) 2c050af2 authored tarafından Vinay Sajip's avatar Vinay Sajip

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

üst f4686f99
...@@ -214,7 +214,7 @@ class LogRecord: ...@@ -214,7 +214,7 @@ class LogRecord:
information to be logged. information to be logged.
""" """
def __init__(self, name, level, pathname, lineno, 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. Initialize a logging record with interesting information.
""" """
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment