

def _to_anti_affinity_rule(self, element):
    node_list = []
    for node in findall(element, 'serverSummary', TYPES_URN):
        node_list.append(node.get('id'))
    return DimensionDataAntiAffinityRule(id=element.get('id'), node_list=element)

dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/dimensiondata.py DimensionDataNodeDriver._to_anti_affinity_rule/VarMisuse@58/87 `node_list`->`element`