Commit 34c0a45f authored by Vincent Pelletier's avatar Vincent Pelletier

Update comment: if no distributing node is selected, distribution is simply...

Update comment: if no distributing node is selected, distribution is simply disabled. Found by Julien.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28055 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1775e793
...@@ -868,7 +868,7 @@ class ActivityTool (Folder, UniqueObject): ...@@ -868,7 +868,7 @@ class ActivityTool (Folder, UniqueObject):
self.registerNode(currentNode) self.registerNode(currentNode)
processing_node_list = self.getNodeList(role=ROLE_PROCESSING) processing_node_list = self.getNodeList(role=ROLE_PROCESSING)
# only distribute when we are the distributingNode or if it's empty # only distribute when we are the distributingNode
if (self.getDistributingNode() == currentNode): if (self.getDistributingNode() == currentNode):
self.distribute(len(processing_node_list)) self.distribute(len(processing_node_list))
......
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