def learnKeysFromOthers(keys_dir, nodeName, otherNodes): otherNodeStacks = [] for otherNode in otherNodes: if otherNode.name != nodeName: otherNodeStacks.append(otherNode.nodestack) otherNodeStacks.append(otherNode.clientstack) nodeStackClass.learnKeysFromOthers(keys_dir, nodeName, otherNodeStacks)
def learnKeysFromOthers(keys_dir, nodeName, otherNodes): otherNodeStacks = [] for otherNode in otherNodes: if otherNode.name != nodeName: otherNodeStacks.append(otherNode.nodestack) otherNodeStacks.append(otherNode.clientstack) nodeStackClass.learnKeysFromOthers(keys_dir, nodeName, otherNodeStacks)