[Neo-report] r2801 jm - /trunk/neo/client/__init__.py

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Jun 24 11:59:58 CEST 2011


Author: jm
Date: Fri Jun 24 11:59:58 2011
New Revision: 2801

Log:
client: fix serials of newly created objects in tpc_finish

Modified:
    trunk/neo/client/__init__.py

Modified: trunk/neo/client/__init__.py
==============================================================================
--- trunk/neo/client/__init__.py [iso-8859-1] (original)
+++ trunk/neo/client/__init__.py [iso-8859-1] Fri Jun 24 11:59:58 2011
@@ -43,7 +43,7 @@ if needs_patch:
                 for oid in oid_iterator:
                     obj = self._cache.get(oid, None)
                     # Ignore missing objects and don't update ghosts.
-                    if obj is not None and obj._p_changed:
+                    if obj is not None and obj._p_changed is not None:
                         obj._p_changed = 0
                         obj._p_serial = serial
         self._tpc_cleanup()




More information about the Neo-report mailing list