[Python-checkins] r54921 - tracker/roundup-src/roundup/cgi/client.py

erik.forsberg python-checkins at python.org
Sun Apr 22 06:34:03 CEST 2007


Author: erik.forsberg
Date: Sun Apr 22 06:34:01 2007
New Revision: 54921

Modified:
   tracker/roundup-src/roundup/cgi/client.py
Log:
Rollback when detecting serialization problem in clean_session. See
log for r54913.


Modified: tracker/roundup-src/roundup/cgi/client.py
==============================================================================
--- tracker/roundup-src/roundup/cgi/client.py	(original)
+++ tracker/roundup-src/roundup/cgi/client.py	Sun Apr 22 06:34:01 2007
@@ -370,6 +370,7 @@
                 # Another client just updated, and we're running on
                 # serializable isolation.
                 # See http://www.postgresql.org/docs/7.4/interactive/transaction-iso.html
+                self.db.rollback()
                 return 
         self.db.commit(fail_ok=True)
 


More information about the Python-checkins mailing list