[Zodb-checkins] CVS: ZODB3/logging - __init__.py:1.1.58.3
Jeremy Hylton
jeremy at zope.com
Fri Sep 19 17:20:14 EDT 2003
Update of /cvs-repository/ZODB3/logging
In directory cvs.zope.org:/tmp/cvs-serv14319/logging
Modified Files:
Tag: Zope-2_7-branch
__init__.py
Log Message:
Restore code deleted by the merge of ZODB3-3_2-branch.
=== ZODB3/logging/__init__.py 1.1.58.2 => 1.1.58.3 ===
--- ZODB3/logging/__init__.py:1.1.58.2 Mon Sep 15 14:02:56 2003
+++ ZODB3/logging/__init__.py Fri Sep 19 17:20:14 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