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

Use super.

parent 56570945
......@@ -51,7 +51,7 @@ class PrimaryHandler(MasterHandler):
# connection successfull, set it as running
node.setRunning()
conn.ask(Packets.AskPrimary())
MasterHandler.connectionCompleted(self, conn)
super(PrimaryHandler, self).connectionCompleted(conn)
def reelectPrimary(self, conn):
raise ElectionFailure, 'reelection requested'
......
......@@ -24,7 +24,7 @@ class CommandEventHandler(EventHandler):
def connectionCompleted(self, conn):
# connected to admin node
self.app.connected = True
EventHandler.connectionCompleted(self, conn)
super(CommandEventHandler, self).connectionCompleted(conn)
def __disconnected(self):
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