[Zodb-checkins] CVS: StandaloneZODB/ZODB - PersistentMapping.py:1.13

Jeremy Hylton jeremy@zope.com
Tue, 27 Nov 2001 16:55:17 -0500


Update of /cvs-repository/StandaloneZODB/ZODB
In directory cvs.zope.org:/tmp/cvs-serv9784

Modified Files:
	PersistentMapping.py 
Log Message:
Make consistent use of assignment to _p_changed instead of __changed__().

The doc string for __changed__() says that it is deprecated, but
presumably the calls here were old and just never got updated.


=== StandaloneZODB/ZODB/PersistentMapping.py 1.12 => 1.13 ===
     def __delitem__(self, key):
         self.__super_delitem(key)
-        self.__changed__(1)
+        self._p_changed = 1
 
     def __setitem__(self, key, v):
         self.__super_setitem(key, v)
-        self.__changed__(1)
+        self._p_changed = 1
 
     def clear(self):
         self.__super_clear()