Commit 037af03a authored by Vincent Pelletier's avatar Vincent Pelletier

Remove useless method overloading.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1039 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent a971382c
...@@ -30,11 +30,6 @@ class AdminEventHandler(EventHandler): ...@@ -30,11 +30,6 @@ class AdminEventHandler(EventHandler):
conn.answer(protocol.notReady('Not connected to a primary master.'), conn.answer(protocol.notReady('Not connected to a primary master.'),
packet) packet)
def connectionAccepted(self, conn, s, addr):
"""Called when a connection is accepted."""
# we only accept connection from command tool
EventHandler.connectionAccepted(self, conn, s, addr)
def handleAskPartitionList(self, conn, packet, min_offset, max_offset, uuid): def handleAskPartitionList(self, conn, packet, min_offset, max_offset, uuid):
logging.info("ask partition list from %s to %s for %s" %(min_offset, max_offset, dump(uuid))) logging.info("ask partition list from %s to %s for %s" %(min_offset, max_offset, dump(uuid)))
app = self.app app = self.app
......
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