[Neo-report] r2010 vincent - /trunk/neo/client/app.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Apr 22 17:55:13 CEST 2010
Author: vincent
Date: Thu Apr 22 17:55:13 2010
New Revision: 2010
Log:
Factorise getConnForCell access.
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] Thu Apr 22 17:55:13 2010
@@ -576,8 +576,9 @@
# 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:
More information about the Neo-report
mailing list