[Zope-CVS] CVS: Products/Ape/lib/apelib/zodb3 - storage.py:1.13

Shane Hathaway shane at zope.com
Thu Mar 11 00:47:06 EST 2004


Update of /cvs-repository/Products/Ape/lib/apelib/zodb3
In directory cvs.zope.org:/tmp/cvs-serv13474

Modified Files:
	storage.py 
Log Message:
Fixed the hash debugger


=== Products/Ape/lib/apelib/zodb3/storage.py 1.12 => 1.13 ===
--- Products/Ape/lib/apelib/zodb3/storage.py:1.12	Mon Mar  1 09:13:54 2004
+++ Products/Ape/lib/apelib/zodb3/storage.py	Thu Mar 11 00:47:05 2004
@@ -152,6 +152,8 @@
             event, new_hash = self._gwio.store(
                 oid, classification, state, is_new)
             new_h64 = self.hash64(new_hash)
+            if DEBUG:
+                self._loaded_hashes[oid] = new_hash
 
             # Remember that this OID changed (for scanning)
             tid = self.getTransactionId()




More information about the Zope-CVS mailing list