Commit bfdef022 authored by Vincent Pelletier's avatar Vincent Pelletier

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.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2625 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent f055e108
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment