#NEWLINE# def get_zone( self , zone_id ) : #NEWLINE# #INDENT# '\n        Return a Zone instance.\n\n        :param zone_id: ID of the required zone\n        :type  zone_id: ``str``\n\n        :rtype: :class:`Zone`\n        ' #NEWLINE# try : #NEWLINE# #INDENT# response = self . connection . request ( ( '/zones/%s' % zone_id ) ) #NEWLINE# #UNINDENT# except MalformedResponseError : #NEWLINE# #INDENT# e = sys . exc_info ( ) [ 1 ] #NEWLINE# if ( e . body == 'Not found' ) : #NEWLINE# #INDENT# raise ZoneDoesNotExistError ( driver = self , value = "The zone doesn't exists" , zone_id = zone_id ) #NEWLINE# #UNINDENT# raise e #NEWLINE# #UNINDENT# zone = self . _to_zone ( response . object ) #NEWLINE# return zone