

def _to_locations(self, object):
    locations = []
    for element in object.findall(fixxpath('datacenter', TYPES_URN)):
        locations.append(self._to_location(element))
    return locations

dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/dimensiondata.py DimensionDataNodeDriver._to_locations/original