Commit b3e10426 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Remove useless override of announcePrimary().

UnexpectedPacketError is triggerred in BaseHandler.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1497 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent ca260161
...@@ -58,9 +58,6 @@ class PrimaryHandler(MasterHandler): ...@@ -58,9 +58,6 @@ class PrimaryHandler(MasterHandler):
self.app.primary_master_node.setDown() self.app.primary_master_node.setDown()
raise PrimaryFailure, 'primary master is dead' raise PrimaryFailure, 'primary master is dead'
def announcePrimary(self, conn, packet):
raise protocol.UnexpectedPacketError
def reelectPrimary(self, conn, packet): def reelectPrimary(self, conn, packet):
raise ElectionFailure, 'reelection requested' raise ElectionFailure, 'reelection requested'
......
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