[Zope3-checkins] CVS: Zope3/src/zodb/storage - base.py:1.3

Jeremy Hylton jeremy@zope.com
Mon, 30 Dec 2002 11:43:16 -0500


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

Modified Files:
	base.py 
Log Message:
Restore assert now that zeo is fixed.

zeo was getting its transaction object from the transaction package
instead of from zodb.ztransaction.


=== Zope3/src/zodb/storage/base.py 1.2 => 1.3 ===
--- Zope3/src/zodb/storage/base.py:1.2	Wed Dec 25 09:12:19 2002
+++ Zope3/src/zodb/storage/base.py	Mon Dec 30 11:43:15 2002
@@ -123,10 +123,7 @@
         pass
 
     def tpc_begin(self, transaction, tid=None, status=' '):
-        # XXX The following assert causes the test suite to fail.
-        #     Since Jeremy isn't here to explain it, I'll just disable
-        #     it for now.  (Guido)
-        ##assert ITransactionAttrs.isImplementedBy(transaction)
+        assert ITransactionAttrs.isImplementedBy(transaction)
         if self._is_read_only:
             raise interfaces.ReadOnlyError()
         self._lock_acquire()