[Neo-report] r2684 jm - /trunk/neo/admin/handler.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Mar 23 11:44:39 CET 2011
Author: jm
Date: Wed Mar 23 11:44:38 2011
New Revision: 2684
Log:
admin: fix [2680] testing the 'bootstrapped' flag in the wrong method
Modified:
trunk/neo/admin/handler.py
Modified: trunk/neo/admin/handler.py
==============================================================================
--- trunk/neo/admin/handler.py [iso-8859-1] (original)
+++ trunk/neo/admin/handler.py [iso-8859-1] Wed Mar 23 11:44:38 2011
@@ -146,15 +146,15 @@ class MasterEventHandler(EventHandler):
neo.lib.logging.debug("answerNodeInformation")
def notifyPartitionChanges(self, conn, ptid, cell_list):
- if self.app.bootstrapped:
- self.app.pt.update(ptid, cell_list, self.app.nm)
+ self.app.pt.update(ptid, cell_list, self.app.nm)
def answerPartitionTable(self, conn, ptid, row_list):
self.app.pt.load(ptid, row_list, self.app.nm)
self.app.bootstrapped = True
def sendPartitionTable(self, conn, ptid, row_list):
- self.app.pt.load(ptid, row_list, self.app.nm)
+ if self.app.bootstrapped:
+ self.app.pt.load(ptid, row_list, self.app.nm)
def notifyClusterInformation(self, conn, cluster_state):
self.app.cluster_state = cluster_state
More information about the Neo-report
mailing list