[Neo-report] r2625 vincent - /trunk/neo/client/app.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Jan 20 14:14:50 CET 2011
Author: vincent
Date: Thu Jan 20 14:14:50 2011
New Revision: 2625
Log:
Operational partition is the discriminating value.
If master give us a None uuid, we raise in handler, so we never reach this
statement. self.pt is set when master accepts us, and if we are not accepted
handler raises.
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 Jan 20 14:14:50 2011
@@ -524,8 +524,7 @@ class Application(object):
msg_id = conn.ask(Packets.AskPartitionTable(), queue=queue)
self._waitMessage(conn, msg_id,
handler=self.primary_bootstrap_handler)
- return self.uuid is not None and self.pt is not None \
- and self.pt.operational()
+ return self.pt.operational()
def registerDB(self, db, limit):
self._db = db
More information about the Neo-report
mailing list