Commit a870a8ef authored by Vincent Pelletier's avatar Vincent Pelletier

Don't redefine protocolError handler.

parent 27a18f96
...@@ -24,10 +24,6 @@ from neo.lib.util import dump ...@@ -24,10 +24,6 @@ from neo.lib.util import dump
class MasterHandler(EventHandler): class MasterHandler(EventHandler):
"""This class implements a generic part of the event handlers.""" """This class implements a generic part of the event handlers."""
def protocolError(self, conn, message):
neo.lib.logging.error(
'Protocol error %s %s', message, conn.getAddress())
def askPrimary(self, conn): def askPrimary(self, conn):
app = self.app app = self.app
if app.primary: if app.primary:
......
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