From: Vinay Sajip Date: Tue, 3 Oct 2006 18:21:56 +0000 (+0000) Subject: Modified LogRecord.__init__ to make the func parameter optional. (See SF #1569622). X-Git-Tag: v2.6a1~2611 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2c050af28b6e4f718f11f2440df85daeb1bc3ece;p=thirdparty%2FPython%2Fcpython.git Modified LogRecord.__init__ to make the func parameter optional. (See SF #1569622). --- diff --git a/Lib/logging/__init__.py b/Lib/logging/__init__.py index dc3400d00dd9..71efbd67fb8d 100644 --- a/Lib/logging/__init__.py +++ b/Lib/logging/__init__.py @@ -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. """