def get_zone(self, zone_id):
        # TODO: This is not efficient
        zones = self.list_zones()

        try:
            zone = [z for z in zones if z.id == zone_id][0]
        except __HOLE__:
            raise ZoneDoesNotExistError(value='', driver=self, zone_id=zone_id)

        return zone
dataset/ETHPy150Open apache/libcloud/libcloud/dns/drivers/cloudflare.py/CloudFlareDNSDriver.get_zone