[z3-checkins] r18703 - z3/sqlos/trunk/transaction

andres at codespeak.net andres at codespeak.net
Mon Oct 17 11:09:59 CEST 2005


Author: andres
Date: Mon Oct 17 11:09:58 2005
New Revision: 18703

Modified:
   z3/sqlos/trunk/transaction/__init__.py
Log:
Changed the sync check. This makes transaction work with sqlobject 0.7. Wont work with 0.6


Modified: z3/sqlos/trunk/transaction/__init__.py
==============================================================================
--- z3/sqlos/trunk/transaction/__init__.py	(original)
+++ z3/sqlos/trunk/transaction/__init__.py	Mon Oct 17 11:09:58 2005
@@ -245,8 +245,8 @@
             for obj in list(self.objects):
                 # XXX: This _SO_obsolete check is a workaround until we get a
                 # newer version of sqlos.
-                #   - Andrew Bennetts, 2004-10-25
-                if not obj._SO_obsolete:
+                #   - Andrew Bennetts, 2004-10-25                
+                if not obj.sqlmeta._obsolete:
                     obj.sync()
         return True
 


More information about the z3-checkins mailing list