[Neo-report] r2040 vincent - /trunk/neo/client/app.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Apr 28 17:05:17 CEST 2010
Author: vincent
Date: Wed Apr 28 17:05:16 2010
New Revision: 2040
Log:
Avoid one unneeded union_update.
Modified:
trunk/neo/client/app.py
Modified: trunk/neo/client/app.py
==============================================================================
--- trunk/neo/client/app.py [iso-8859-1] (original)
+++ trunk/neo/client/app.py [iso-8859-1] Wed Apr 28 17:05:16 2010
@@ -726,13 +726,12 @@
self.waitResponses()
tid = self.local_var.tid
- cell_set = set()
+ # select nodes where transaction was stored
+ cell_set = set(self._getCellListForTID(tid,
+ writable=True))
# select nodes where objects were stored
for oid in self.local_var.data_dict.iterkeys():
cell_set |= set(self._getCellListForOID(oid, writable=True))
- # select nodes where transaction was stored
- cell_set |= set(self._getCellListForTID(self.local_var.tid,
- writable=True))
p = Packets.AbortTransaction(tid)
# cancel transaction one all those nodes
More information about the Neo-report
mailing list