#NEWLINE# def _delete_node_index( self , node , cb = None ) : #NEWLINE# #INDENT# indexes = node . attributes . get_indexed_public ( ) #NEWLINE# _log . analyze ( self . node . id , '+' , { #NEWLINE# #INDENT# 'indexes' : indexes , #NEWLINE# #UNINDENT# } ) #NEWLINE# try : #NEWLINE# #INDENT# counter = [ len ( index ) ] #NEWLINE# for index in indexes : #NEWLINE# #INDENT# self . remove_index ( index , node . id , cb = CalvinCB ( self . _delete_node_cb , counter = counter , org_cb = cb ) ) #NEWLINE# #UNINDENT# async . DelayedCall ( 1.0 , self . _delete_node_timeout_cb , counter = counter , org_cb = cb ) #NEWLINE# #UNINDENT# except : #NEWLINE# #INDENT# _log . debug ( 'Remove node index failed' , exc_info = True ) #NEWLINE# if cb : #NEWLINE# #INDENT# cb ( )