#NEWLINE# def get_blame_objects( self ) : #NEWLINE# #INDENT# ds_list = [ 'resources' , 'objects' , 'state' , 'events' ] #NEWLINE# blame_objs = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# for ds_name in ret_objs : #NEWLINE# #INDENT# ret_objs = [ ] #NEWLINE# try : #NEWLINE# #INDENT# ds = DatastoreFactory . get_datastore ( datastore_name = ds_name , config = self . config , scope = self . sysname ) #NEWLINE# ret_objs = ds . find_docs_by_view ( '_all_docs' , None , id_only = False ) #NEWLINE# ds . close ( ) #NEWLINE# #UNINDENT# except BadRequest : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# objs = [ ] #NEWLINE# for ( obj_id , obj_key , obj ) in ret_objs : #NEWLINE# #INDENT# if ( 'blame_' in obj ) : #NEWLINE# #INDENT# objs . append ( obj ) #NEWLINE# #UNINDENT# #UNINDENT# blame_objs [ ds_name ] = objs #NEWLINE# #UNINDENT# return blame_objs