[Neo-report] r2592 vincent - /trunk/neo/handler.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Jan 6 15:08:50 CET 2011


Author: vincent
Date: Thu Jan  6 15:08:49 2011
New Revision: 2592

Log:
Re-add SendPartitionTable handling.

This was removed accidentally in r2114.

Modified:
    trunk/neo/handler.py

Modified: trunk/neo/handler.py
==============================================================================
--- trunk/neo/handler.py [iso-8859-1] (original)
+++ trunk/neo/handler.py [iso-8859-1] Thu Jan  6 15:08:49 2011
@@ -169,6 +169,9 @@ class EventHandler(object):
     def answerPartitionTable(self, conn, ptid, row_list):
         raise UnexpectedPacketError
 
+    def sendPartitionTable(self, conn, ptid, row_list):
+        raise UnexpectedPacketError
+
     def notifyPartitionChanges(self, conn, ptid, cell_list):
         raise UnexpectedPacketError
 
@@ -430,6 +433,7 @@ class EventHandler(object):
         d[Packets.AnswerLastIDs] = self.answerLastIDs
         d[Packets.AskPartitionTable] = self.askPartitionTable
         d[Packets.AnswerPartitionTable] = self.answerPartitionTable
+        d[Packets.SendPartitionTable] = self.sendPartitionTable
         d[Packets.NotifyPartitionChanges] = self.notifyPartitionChanges
         d[Packets.StartOperation] = self.startOperation
         d[Packets.StopOperation] = self.stopOperation




More information about the Neo-report mailing list