[Zodb-checkins] CVS: Packages/bsddb3Storage - Minimal.py:1.7

barry@digicool.com barry@digicool.com
Wed, 4 Apr 2001 15:24:29 -0400 (EDT)


Update of /cvs-repository/Packages/bsddb3Storage
In directory korak:/tmp/cvs-serv23439

Modified Files:
	Minimal.py 
Log Message:
store(): convert the oserial used in the ConflictError message to a
long to make it more readable.



--- Updated File Minimal.py in package Packages/bsddb3Storage --
--- Minimal.py	2001/03/30 00:14:52	1.6
+++ Minimal.py	2001/04/04 19:24:27	1.7
@@ -183,7 +183,7 @@
                 # number.  Raise a ConflictError.
                 raise POSException.ConflictError(
                     'serial number mismatch (was: %s, has: %s)' %
-                    (oserial, utils.U64(serial)))
+                    (utils.U64(oserial), utils.U64(serial)))
             # Our serial number is updated in BaseStorage's tpc_begin() call,
             # which sets the serial number to the current timestamp.
             serial = self._serial