Commit 4c7b1b7a authored by Vincent Pelletier's avatar Vincent Pelletier

Re-add SendPartitionTable handling.

This was removed accidentally in r2114.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2592 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 00141976
...@@ -169,6 +169,9 @@ class EventHandler(object): ...@@ -169,6 +169,9 @@ class EventHandler(object):
def answerPartitionTable(self, conn, ptid, row_list): def answerPartitionTable(self, conn, ptid, row_list):
raise UnexpectedPacketError raise UnexpectedPacketError
def sendPartitionTable(self, conn, ptid, row_list):
raise UnexpectedPacketError
def notifyPartitionChanges(self, conn, ptid, cell_list): def notifyPartitionChanges(self, conn, ptid, cell_list):
raise UnexpectedPacketError raise UnexpectedPacketError
...@@ -430,6 +433,7 @@ class EventHandler(object): ...@@ -430,6 +433,7 @@ class EventHandler(object):
d[Packets.AnswerLastIDs] = self.answerLastIDs d[Packets.AnswerLastIDs] = self.answerLastIDs
d[Packets.AskPartitionTable] = self.askPartitionTable d[Packets.AskPartitionTable] = self.askPartitionTable
d[Packets.AnswerPartitionTable] = self.answerPartitionTable d[Packets.AnswerPartitionTable] = self.answerPartitionTable
d[Packets.SendPartitionTable] = self.sendPartitionTable
d[Packets.NotifyPartitionChanges] = self.notifyPartitionChanges d[Packets.NotifyPartitionChanges] = self.notifyPartitionChanges
d[Packets.StartOperation] = self.startOperation d[Packets.StartOperation] = self.startOperation
d[Packets.StopOperation] = self.stopOperation d[Packets.StopOperation] = self.stopOperation
......
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