#NEWLINE# def undo( self , workflow_dict ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# DNSAPIProvider . remove_database_dns ( environment = workflow_dict [ 'environment' ] , databaseinfraid = traceback [ 'databaseinfra' ] . id ) #NEWLINE# DatabaseInfraDNSList . objects . filter ( databaseinfra = workflow_dict [ 'databaseinfra' ] . id ) . delete ( ) #NEWLINE# return True #NEWLINE# #UNINDENT# except Exception : #NEWLINE# #INDENT# traceback = full_stack ( ) #NEWLINE# workflow_dict [ 'exceptions' ] [ 'error_codes' ] . append ( DBAAS_0007 ) #NEWLINE# workflow_dict [ 'exceptions' ] [ 'traceback' ] . append ( traceback ) #NEWLINE# return False