[Zope3-checkins] CVS: Zope3/src/zodb/code - class_.py:1.21.4.2

Jim Fulton jim at zope.com
Fri Jan 23 13:25:14 EST 2004


Update of /cvs-repository/Zope3/src/zodb/code
In directory cvs.zope.org:/tmp/cvs-serv9280/src/zodb/code

Modified Files:
      Tag: zope3-zodb3-devel-branch
	class_.py 
Log Message:
Updated to reflect the different object cache api in zodb3


=== Zope3/src/zodb/code/class_.py 1.21.4.1 => 1.21.4.2 ===
--- Zope3/src/zodb/code/class_.py:1.21.4.1	Fri Jan  9 17:23:30 2004
+++ Zope3/src/zodb/code/class_.py	Fri Jan 23 13:25:13 2004
@@ -382,7 +382,7 @@
                 try:
                     # XXX Make sure the object is in the cache before
                     # calling setstate().
-                    dm._cache.set(cls._p_oid, cls)
+                    dm._cache[cls._p_oid] = cls
                     dm.setstate(cls)
                 finally:
                     # XXX Should really put in special inconsistent state




More information about the Zope3-Checkins mailing list