[Zope-CVS] CVS: Products/Ape/lib/apelib/zodb3 - utils.py:1.2
Shane Hathaway
shane at zope.com
Tue Sep 16 16:56:42 EDT 2003
Update of /cvs-repository/Products/Ape/lib/apelib/zodb3
In directory cvs.zope.org:/tmp/cvs-serv32620/lib/apelib/zodb3
Modified Files:
utils.py
Log Message:
Fixed a re-ghostification bug.
To ghostify you have to pretend to delete the _p_changed attribute rather
than set it to None.
=== Products/Ape/lib/apelib/zodb3/utils.py 1.1 => 1.2 ===
--- Products/Ape/lib/apelib/zodb3/utils.py:1.1 Wed Apr 9 23:09:58 2003
+++ Products/Ape/lib/apelib/zodb3/utils.py Tue Sep 16 16:56:42 2003
@@ -60,7 +60,7 @@
p.dump(object)
if former_ghosts:
for g in former_ghosts:
- g._p_changed = None
+ del g._p_changed
del former_ghosts[:]
stream.seek(0)
u = Unpickler(stream)
More information about the Zope-CVS
mailing list