def get_hosted_zone_by_name(self, hosted_zone_name):
        if hosted_zone_name[-1] != '.':
            hosted_zone_name += '.'
        all_hosted_zones = self.get_all_hosted_zones()
        for zone in all_hosted_zones['ListHostedZonesResponse']['HostedZones']:
            #check that they gave us the FQDN for their zone
            if zone['Name'] == hosted_zone_name:
                return self.get_hosted_zone(zone['Id'].split('/')[-1])
Calculate the default directory to use for temporary files.
dataset/ETHPy150Open darcyliu/storyboard/boto/route53/connection.py/Route53Connection.get_hosted_zone_by_name--crossover with--dataset/ETHPy150Open eBay/restcommander/play-1.2.4/python/Lib/tempfile.py/_get_default_tempdir