[Zodb-checkins] CVS: ZODB3/ZODB/zodb4 - conversion.py:1.1.2.6
Fred L. Drake, Jr.
fred at zope.com
Fri Jan 30 16:42:07 EST 2004
Update of /cvs-repository/ZODB3/ZODB/zodb4
In directory cvs.zope.org:/tmp/cvs-serv11073
Modified Files:
Tag: zope3-zodb3-devel-branch
conversion.py
Log Message:
deal with the fact that there are two pickles in "data"
=== ZODB3/ZODB/zodb4/conversion.py 1.1.2.5 => 1.1.2.6 ===
--- ZODB3/ZODB/zodb4/conversion.py:1.1.2.5 Fri Jan 30 16:26:49 2004
+++ ZODB3/ZODB/zodb4/conversion.py Fri Jan 30 16:42:06 2004
@@ -63,11 +63,13 @@
sio = StringIO(record.data)
up = Unpickler(sio)
up.persistent_load = PersistentIdentifier
- data = up.load()
+ classmeta = up.load()
+ state = up.load()
sio = StringIO()
p = Pickler(sio)
p.persistent_id = get_persistent_id
- p.dump(data)
+ p.dump(classmeta)
+ p.dump(state)
record.data = sio.getvalue()
print repr(record.data)
yield record
More information about the Zodb-checkins
mailing list