[Zodb-checkins] CVS: Packages/ZODB - POSException.py:1.20.4.5

Tim Peters tim.one at comcast.net
Thu Sep 9 14:18:19 EDT 2004


Update of /cvs-repository/Packages/ZODB
In directory cvs.zope.org:/tmp/cvs-serv4970/ZODB

Modified Files:
      Tag: Zope-2_7-branch
	POSException.py 
Log Message:
The ConflictError.get_{old,new}_serial() methods each did what the other
was supposed to do.


=== Packages/ZODB/POSException.py 1.20.4.4 => 1.20.4.5 ===
--- Packages/ZODB/POSException.py:1.20.4.4	Sat Sep  4 00:09:54 2004
+++ Packages/ZODB/POSException.py	Thu Sep  9 14:18:19 2004
@@ -102,10 +102,10 @@
         return self.class_name
 
     def get_old_serial(self):
-        return self.serials[0]
+        return self.serials[1]
 
     def get_new_serial(self):
-        return self.serials[1]
+        return self.serials[0]
 
     def get_serials(self):
         return self.serials



More information about the Zodb-checkins mailing list