Commit defe50f8 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Fix a boolean condition.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@684 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent ccee974f
...@@ -654,8 +654,8 @@ class Application(object): ...@@ -654,8 +654,8 @@ class Application(object):
if node is not None and node.getNodeType() == ADMIN_NODE_TYPE: if node is not None and node.getNodeType() == ADMIN_NODE_TYPE:
continue continue
conn.setHandler(handler) conn.setHandler(handler)
if not conn.isListeningConnection() and node is None or \ if not conn.isListeningConnection() and (node is None or \
node.getNodeType() == STORAGE_NODE_TYPE: node.getNodeType() == STORAGE_NODE_TYPE):
conn.notify(protocol.startOperation()) conn.notify(protocol.startOperation())
# Now everything is passive. # Now everything is passive.
......
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