[Zope-Checkins] CVS: Zope/lib/python/ZODB - Connection.py:1.123

Jim Fulton jim at zope.com
Wed Feb 25 06:30:17 EST 2004


Update of /cvs-repository/Zope/lib/python/ZODB
In directory cvs.zope.org:/tmp/cvs-serv26676

Modified Files:
	Connection.py 
Log Message:
Re-commented an _p_oid assertion that was causing multiple failures
on the Zope 2 head. While I can appreciate the desire to unserstand
why register would be called by an object that has no _p_oid, 
such questions should be answered in a sandbox, without breaking the
head.


=== Zope/lib/python/ZODB/Connection.py 1.122 => 1.123 ===
--- Zope/lib/python/ZODB/Connection.py:1.122	Tue Feb 24 17:07:46 2004
+++ Zope/lib/python/ZODB/Connection.py	Wed Feb 25 06:30:16 2004
@@ -497,7 +497,7 @@
         """
         assert object._p_jar is self
         # XXX Figure out why this assert causes test failures
-        assert object._p_oid is not None
+        #assert object._p_oid is not None
         self.getTransaction().register(object)
 
     def root(self):




More information about the Zope-Checkins mailing list