[Zodb-checkins] CVS: Packages/ZEO - ClientStorage.py:1.26.4.8

jeremy@digicool.com jeremy@digicool.com
Thu, 19 Apr 2001 14:24:03 -0400 (EDT)


Update of /cvs-repository/Packages/ZEO
In directory korak:/tmp/cvs-serv21182

Modified Files:
      Tag: ZEO-ZRPC-Dev
	ClientStorage.py 
Log Message:
fiddle with logging





--- Updated File ClientStorage.py in package Packages/ZEO --
--- ClientStorage.py	2001/04/18 20:51:08	1.26.4.7
+++ ClientStorage.py	2001/04/19 18:24:02	1.26.4.8
@@ -443,9 +443,6 @@
 
             self._cache.checkSize(self._tbuf.get_size())
 
-            LOG("ClientStorage", BLATHER, "tpc_finish()")
-            LOG("ClientStorage", BLATHER, "serials: %s" % repr(self._seriald))
-
             self._tbuf.begin_iterate()
             while 1:
                 try:
@@ -457,13 +454,11 @@
                 if t is None:
                     break
                 oid, v, p = t
-                LOG("tbuf", BLATHER, "oid=%s v=%s len(p)=%d" % (
-                    repr(oid), repr(v), len(p)))
                 s = self._seriald[oid]
                 if type(s) != StringType:
                     LOG("ClientStorage", INFO, "bad serialno: %s for %s" % \
                         (repr(s), repr(oid)))
-                assert type(s) == StringType, "bad serialno: %s" % s
+                assert type(s) == StringType, "bad serialno: %s" % repr(s)
                 self._cache.update(oid, s, v, p)
             self._tbuf.clear()