#NEWLINE# def add( self , task_id , node_id , result ) : #NEWLINE# #INDENT# d = self . _d . get ( task_id , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# d [ node_id . binary ] = result #NEWLINE# self . _d [ task_id ] = task_id #NEWLINE# self . _total_count += 1