[Zope-Checkins] CVS: Zope/lib/python/logging - __init__.py:1.1.58.1

Chris McDonough chrism@zope.com
Mon, 21 Jul 2003 12:39:08 -0400


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
 #---------------------------------------------------------------------------