[Zodb-checkins] CVS: Zope3/lib/python/ZODB - Serialize.py:1.12
Tim Peters
tim.one@comcast.net
Thu, 19 Dec 2002 16:53:04 -0500
Update of /cvs-repository/Zope3/lib/python/ZODB
In directory cvs.zope.org:/tmp/cvs-serv6047/lib/python/ZODB
Modified Files:
Serialize.py
Log Message:
More logging.
=== Zope3/lib/python/ZODB/Serialize.py 1.11 => 1.12 ===
--- Zope3/lib/python/ZODB/Serialize.py:1.11 Fri Dec 13 17:16:02 2002
+++ Zope3/lib/python/ZODB/Serialize.py Thu Dec 19 16:53:03 2002
@@ -53,8 +53,7 @@
from cStringIO import StringIO
import cPickle
from types import StringType, TupleType
-
-import zLOG
+import logging
def getClass(module, name):
mod = __import__(module)
@@ -309,7 +308,7 @@
try:
u.noload()
except EOFError, err:
- zLOG.LOG("ZODB", zLOG.INFO, "Bad pickled: %s" % err)
+ logging.warn("ZODB: Bad pickled: %s", err)
# Iterator over L and convert persistent references to simple oids.
oids = []
for ref in L: