[Zodb-checkins] CVS: Zope3/lib/python/Persistence - _persistentmech.py:1.1.2.2
Jim Fulton
jim@zope.com
Sun, 25 Nov 2001 19:25:11 -0500
Update of /cvs-repository/Zope3/lib/python/Persistence
In directory cvs.zope.org:/tmp/cvs-serv15704
Modified Files:
Tag: Zope-3x-branch
_persistentmech.py
Log Message:
Fixed bug: setting _p_changed directly did not register object
=== Zope3/lib/python/Persistence/_persistentmech.py 1.1.2.1 => 1.1.2.2 ===
if val:
oset(ob, '_p_state', 1)
+ oget(ob, '_p_jar').register(ob)
elif val is None:
oget(ob, '_p_deactivate')()
oset(ob, '_p_state', None)