#NEWLINE# def delete_record( self , record ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# r = record #NEWLINE# batch = [ ( 'DELETE' , r . name , r . type , r . data , r . extra ) ] #NEWLINE# self . _post_changeset ( record . zone , batch ) #NEWLINE# #UNINDENT# except InvalidChangeBatch : #NEWLINE# #INDENT# raise RecordDoesNotExistError ( value = '' , driver = self , record_id = r . id ) #NEWLINE# #UNINDENT# return True