Commit 04001b76 authored by Vincent Pelletier's avatar Vincent Pelletier

Get connection from the cell (loop variant) rather from the node (loop...

Get connection from the cell (loop variant) rather from the node (loop invariant, remain from a loop higher in the same method).


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@648 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 9a46bf02
......@@ -845,7 +845,7 @@ class Application(object):
cell_list = self._getCellListForID(tid, readable=True)
shuffle(cell_list)
for cell in cell_list:
conn = self.cp.getConnForNode(storage_node)
conn = self.cp.getConnForCell(cell)
if conn is None:
continue
......
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