commit | 2c050af28b6e4f718f11f2440df85daeb1bc3ece | [log] [tgz] |
---|---|---|
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | Tue Oct 03 18:21:56 2006 +0000 |
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | Tue Oct 03 18:21:56 2006 +0000 |
tree | 5e0464e94af2ff933b5d91c857d2eb11aa5d7202 | |
parent | f4686f995e9d1ffd098f0c91863b3658550b598a [diff] |
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 dc3400d..71efbd6 100644 --- a/Lib/logging/__init__.py +++ b/Lib/logging/__init__.py
@@ -214,7 +214,7 @@ 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. """