Commit 94f7a7ff authored by Vincent Pelletier's avatar Vincent Pelletier

Drop dead/unneeded code.

parent 4aa72733
...@@ -706,7 +706,6 @@ class ClientConnection(Connection): ...@@ -706,7 +706,6 @@ class ClientConnection(Connection):
err = self.connector.getError() err = self.connector.getError()
if err: if err:
self._closure() self._closure()
return
else: else:
self.connecting = False self.connecting = False
self.updateTimeout(time()) self.updateTimeout(time())
......
...@@ -39,11 +39,6 @@ class AdministrationHandler(MasterHandler): ...@@ -39,11 +39,6 @@ class AdministrationHandler(MasterHandler):
node = self.app.nm.getByUUID(conn.getUUID()) node = self.app.nm.getByUUID(conn.getUUID())
self.app.nm.remove(node) self.app.nm.remove(node)
def askPrimary(self, conn):
app = self.app
# I'm the primary
conn.answer(Packets.AnswerPrimary(app.uuid, []))
def setClusterState(self, conn, state): def setClusterState(self, conn, state):
app = self.app app = self.app
# check request # check request
......
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