[Zodb-checkins] CVS: ZODB3/ZEO - stats.py:1.17.6.1.18.5

Tim Peters tim.one at comcast.net
Mon Dec 15 14:24:28 EST 2003


Update of /cvs-repository/ZODB3/ZEO
In directory cvs.zope.org:/tmp/cvs-serv1825/ZEO

Modified Files:
      Tag: Zope-2_6-branch
	stats.py 
Log Message:
When skipping bytes, display the hex values of the bytes getting skipped.


=== ZODB3/ZEO/stats.py 1.17.6.1.18.4 => 1.17.6.1.18.5 ===
--- ZODB3/ZEO/stats.py:1.17.6.1.18.4	Mon Dec  1 21:39:10 2003
+++ ZODB3/ZEO/stats.py	Mon Dec 15 14:24:26 2003
@@ -150,7 +150,7 @@
             if ts == 0:
                 # Must be a misaligned record caused by a crash
                 if not quiet:
-                    print "Skipping 8 bytes at offset", offset-8
+                    print "Skipping 8 bytes at offset", offset-8, ' '.join(["%02x" % ord(ch) for ch in r])
                 continue
             r = f_read(16)
             if len(r) < 16:




More information about the Zodb-checkins mailing list