[Zope-Checkins] CVS: ZODB3/ZODB - Connection.py:1.98.2.3

Jeremy Hylton jeremy at zope.com
Mon Sep 8 12:26:03 EDT 2003


Update of /cvs-repository/ZODB3/ZODB
In directory cvs.zope.org:/tmp/cvs-serv22520

Modified Files:
      Tag: ZODB3-3_2-branch
	Connection.py 
Log Message:
Get rid of _root_ special case.


=== ZODB3/ZODB/Connection.py 1.98.2.2 => 1.98.2.3 ===
--- ZODB3/ZODB/Connection.py:1.98.2.2	Mon Sep  8 11:25:42 2003
+++ ZODB3/ZODB/Connection.py	Mon Sep  8 11:26:02 2003
@@ -140,7 +140,6 @@
             self._cache.clear()
         self._incrgc = None
         self.cacheGC = None
-        self._root_ = None
 
     def __getitem__(self, oid, tt=type(())):
         obj = self._cache.get(oid, None)
@@ -176,8 +175,6 @@
         object._p_serial=serial
 
         self._cache[oid] = object
-        if oid=='\0\0\0\0\0\0\0\0':
-            self._root_=object # keep a ref
         return object
 
     def _persistent_load(self,oid,




More information about the Zope-Checkins mailing list