

def getNetworkKey(self, name):
    for netkey in self.networks:
        if (netkey.name == netkey):
            return netkey
    raise NodeError('Could not find network key with the supplied name.')

dataset/ETHPy150Open mvillalba/python-ant/src/ant/core/node.py Node.getNetworkKey/VarMisuse@27/33 `name`->`netkey`