[Zodb-checkins] CVS: Zope3/lib/python/Persistence - _persistentMapping.py:1.1.2.2
Jim Fulton
jim@zope.com
Sun, 25 Nov 2001 19:21:35 -0500
Update of /cvs-repository/Zope3/lib/python/Persistence
In directory cvs.zope.org:/tmp/cvs-serv14625
Modified Files:
Tag: Zope-3x-branch
_persistentMapping.py
Log Message:
Changed to indicate changes by setting _p_changed, rather than by
calling __changed__.
=== Zope3/lib/python/Persistence/_persistentMapping.py 1.1.2.1 => 1.1.2.2 ===
try: del self._v_keys
except: pass
- self.__changed__(1)
+ self._p_changed=1
def __getitem__(self, key):
return self._container[key]
@@ -119,7 +119,7 @@
self._container[key]=v
try: del self._v_keys
except: pass
- self.__changed__(1)
+ self._p_changed=1
def clear(self):
self._container.clear()