Commit 366fa397 authored by Vincent Pelletier's avatar Vincent Pelletier

Avoid one unneeded union_update.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2040 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent d4658bc6
......@@ -726,13 +726,12 @@ class Application(object):
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment