[Zope3-checkins] CVS: Zope3/src/zodb/storage/file - pack.py:1.1.2.3
Jeremy Hylton
jeremy@zope.com
Thu, 17 Apr 2003 16:01:19 -0400
Update of /cvs-repository/Zope3/src/zodb/storage/file
In directory cvs.zope.org:/tmp/cvs-serv13758/file
Modified Files:
Tag: jeremy-new-pack-branch
pack.py
Log Message:
Remove debugging output.
=== Zope3/src/zodb/storage/file/pack.py 1.1.2.2 => 1.1.2.3 ===
--- Zope3/src/zodb/storage/file/pack.py:1.1.2.2 Thu Apr 17 15:55:50 2003
+++ Zope3/src/zodb/storage/file/pack.py Thu Apr 17 16:00:49 2003
@@ -359,10 +359,8 @@
data, refs, serial, tid = self._loadBackTxn(h.oid, h.back)
refs = "".join(refs)
else:
- assert h.plen == 0 and h.back == 0
data = ""
refs = ""
- print "george", h.__dict__
self.writePackedDataRecord(h, data, refs, new_tpos)
new_pos = self._tfile.tell()
@@ -385,10 +383,6 @@
self.index[h.oid] = pos
if h.version:
self.vindex[h.version] = pos
- if not (data or refs):
- print h.__dict__
- print repr(h.asString())
- print "writing at %d" % self._tfile.tell()
self._tfile.write(h.asString())
self._tfile.write(refs)
self._tfile.write(data)