[Zodb-checkins] CVS: ZODB3/BDBStorage - BDBFullStorage.py:1.71.2.2

Jeremy Hylton jeremy at zope.com
Fri Sep 12 15:44:36 EDT 2003


Update of /cvs-repository/ZODB3/BDBStorage
In directory cvs.zope.org:/tmp/cvs-serv19082

Modified Files:
      Tag: ZODB3-3_2-branch
	BDBFullStorage.py 
Log Message:
I can't tell you why this fixes it, only that it does.


=== ZODB3/BDBStorage/BDBFullStorage.py 1.71.2.1 => 1.71.2.2 ===
--- ZODB3/BDBStorage/BDBFullStorage.py:1.71.2.1	Tue Sep  9 18:35:37 2003
+++ ZODB3/BDBStorage/BDBFullStorage.py	Fri Sep 12 15:44:35 2003
@@ -337,7 +337,10 @@
                 revid = oid+tid
                 vid = self._metadata[revid][:8]
                 self._metadata.delete(revid, txn=txn)
-                self._pickles.delete(revid, txn=txn)
+                try:
+                    self._pickles.delete(revid, txn=txn)
+                except db.DBNotFoundError:
+                    pass
                 # Clean up the object revisions table
                 try:
                     cr.set(oid+tid)




More information about the Zodb-checkins mailing list