[Neo-report] r1814 gregory - in /trunk/neo: admin/ client/ master/ storage/

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Feb 22 12:41:53 CET 2010


Author: gregory
Date: Mon Feb 22 12:41:53 2010
New Revision: 1814

Log:
Prepare the node manager when the application starts

Modified:
    trunk/neo/admin/app.py
    trunk/neo/client/app.py
    trunk/neo/master/app.py
    trunk/neo/storage/app.py

Modified: trunk/neo/admin/app.py
==============================================================================
--- trunk/neo/admin/app.py [iso-8859-1] (original)
+++ trunk/neo/admin/app.py [iso-8859-1] Mon Feb 22 12:41:53 2010
@@ -52,6 +52,7 @@
 
     def __init__(self, config):
 
+        NodeManager.init()
         # always use default connector for now
         self.connector_handler = getConnectorHandler()
 

Modified: trunk/neo/client/app.py
==============================================================================
--- trunk/neo/client/app.py [iso-8859-1] (original)
+++ trunk/neo/client/app.py [iso-8859-1] Mon Feb 22 12:41:53 2010
@@ -100,6 +100,8 @@
     """The client node application."""
 
     def __init__(self, master_nodes, name, connector=None, **kw):
+
+        NodeManager.init()
         # Start polling thread
         self.em = EventManager()
         self.poll_thread = ThreadedPoll(self.em)

Modified: trunk/neo/master/app.py
==============================================================================
--- trunk/neo/master/app.py [iso-8859-1] (original)
+++ trunk/neo/master/app.py [iso-8859-1] Mon Feb 22 12:41:53 2010
@@ -42,6 +42,7 @@
 
     def __init__(self, config):
 
+        NodeManager.init()
         # always use default connector for now
         self.connector_handler = getConnectorHandler()
 

Modified: trunk/neo/storage/app.py
==============================================================================
--- trunk/neo/storage/app.py [iso-8859-1] (original)
+++ trunk/neo/storage/app.py [iso-8859-1] Mon Feb 22 12:41:53 2010
@@ -38,6 +38,8 @@
     """The storage node application."""
 
     def __init__(self, config):
+
+        NodeManager.init()
         # always use default connector for now
         self.connector_handler = getConnectorHandler()
 





More information about the Neo-report mailing list