[Neo-report] r2381 vincent - /trunk/neo/master/handlers/administration.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Sat Oct 30 14:55:54 CEST 2010
Author: vincent
Date: Sat Oct 30 14:55:54 2010
New Revision: 2381
Log:
Factorise access to app properly.
Modified:
trunk/neo/master/handlers/administration.py
Modified: trunk/neo/master/handlers/administration.py
==============================================================================
--- trunk/neo/master/handlers/administration.py [iso-8859-1] (original)
+++ trunk/neo/master/handlers/administration.py [iso-8859-1] Sat Oct 30 14:55:54 2010
@@ -120,7 +120,10 @@ class AdministrationHandler(MasterHandle
def addPendingNodes(self, conn, uuid_list):
uuids = ', '.join([dump(uuid) for uuid in uuid_list])
neo.logging.debug('Add nodes %s' % uuids)
- app, nm, em, pt = self.app, self.app.nm, self.app.em, self.app.pt
+ app = self.app
+ nm = app.nm
+ em = app.em
+ pt = app.pt
cell_list = []
uuid_set = set()
# take all pending nodes
More information about the Neo-report
mailing list