Commit 3d348a6b authored by Vincent Pelletier's avatar Vincent Pelletier

Factorise getConnForCell access.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2010 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 393e59e0
......@@ -576,8 +576,9 @@ class Application(object):
# Store data on each node
self.local_var.object_stored_counter_dict[oid] = 0
self.local_var.object_serial_dict[oid] = (serial, version)
getConnForCell = self.cp.getConnForCell
for cell in cell_list:
conn = self.cp.getConnForCell(cell)
conn = getConnForCell(cell)
if conn is None:
continue
try:
......
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