Commit 846cad64 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Fix typo on isListeningConnection accesor case.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@349 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent d61df4a3
......@@ -65,7 +65,7 @@ class BootstrapEventHandler(StorageEventHandler):
StorageEventHandler.connectionAccepted(self, conn, s, addr)
def timeoutExpired(self, conn):
if not conn.islisteningConnection():
if not conn.isListeningConnection():
app = self.app
if app.trying_master_node is app.primary_master_node:
# If a primary master node timeouts, I should not rely on it.
......@@ -76,7 +76,7 @@ class BootstrapEventHandler(StorageEventHandler):
StorageEventHandler.timeoutExpired(self, conn)
def connectionClosed(self, conn):
if not conn.islisteningConnection():
if not conn.isListeningConnection():
app = self.app
if app.trying_master_node is app.primary_master_node:
# If a primary master node closes, I should not rely on it.
......@@ -87,7 +87,7 @@ class BootstrapEventHandler(StorageEventHandler):
StorageEventHandler.connectionClosed(self, conn)
def peerBroken(self, conn):
if not conn.islisteningConnection():
if not conn.isListeningConnection():
app = self.app
if app.trying_master_node is app.primary_master_node:
# If a primary master node gets broken, I should not rely
......@@ -99,7 +99,7 @@ class BootstrapEventHandler(StorageEventHandler):
StorageEventHandler.peerBroken(self, conn)
def handleNotReady(self, conn, packet, message):
if not conn.islisteningConnection():
if not conn.isListeningConnection():
app = self.app
if app.trying_master_node is not None:
app.trying_master_node = None
......
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