[Zodb-checkins] SVN: ZODB/trunk/src/ZODB/MappingStorage.py Fixed a bad raise in loadSerial.

Jim Fulton jim at zope.com
Sat Nov 1 14:23:21 EDT 2008


Log message for revision 92742:
  Fixed a bad raise in loadSerial.
  

Changed:
  U   ZODB/trunk/src/ZODB/MappingStorage.py

-=-
Modified: ZODB/trunk/src/ZODB/MappingStorage.py
===================================================================
--- ZODB/trunk/src/ZODB/MappingStorage.py	2008-11-01 18:07:39 UTC (rev 92741)
+++ ZODB/trunk/src/ZODB/MappingStorage.py	2008-11-01 18:23:20 UTC (rev 92742)
@@ -176,7 +176,7 @@
             except KeyError:
                 pass
 
-        raise ZODB.POSException.POSBeforeKeyError(oid)
+        raise ZODB.POSException.POSKeyError(oid, serial)
 
     # ZODB.interfaces.IStorage
     @ZODB.utils.locked(opened)



More information about the Zodb-checkins mailing list