[Zodb-checkins] CVS: Zope/lib/python/logging - __init__.py:1.1.58.1
Chris McDonough
chrism at zope.com
Mon Jul 21 13:39:09 EDT 2003
Update of /cvs-repository/Zope/lib/python/logging
In directory cvs.zope.org:/tmp/cvs-serv17213/lib/python/logging
Modified Files:
Tag: Zope-2_7-branch
__init__.py
Log Message:
Merge changes from HEAD since the release of Zope 2.7a1 into the Zope-2_7-branch in preparation for release of Zope 2.7b1.
=== Zope/lib/python/logging/__init__.py 1.1 => 1.1.58.1 ===
--- Zope/lib/python/logging/__init__.py:1.1 Mon Nov 25 14:25:16 2002
+++ Zope/lib/python/logging/__init__.py Mon Jul 21 12:38:33 2003
@@ -81,6 +81,12 @@
raiseExceptions = 1
+# apply() is defined locally to avoid deprecation warnings for Python
+# 2.3 and newer
+def apply(func, args, kwargs):
+ return func(*args, **kwargs)
+
+
#---------------------------------------------------------------------------
# Level related stuff
#---------------------------------------------------------------------------
More information about the Zodb-checkins
mailing list