#NEWLINE# def compute_node_stats( self , ctxt ) : #NEWLINE# #INDENT# 'Return compute node stats totals from all cells.' #NEWLINE# responses = self . msg_runner . compute_node_stats ( ctxt ) #NEWLINE# totals = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# for response in responses : #NEWLINE# #INDENT# data = response . value_or_raise ( ) #NEWLINE# for ( key , val ) in six . iteritems ( data ) : #NEWLINE# #INDENT# totals . setdefault ( key , 0 ) #NEWLINE# totals [ key ] += totals #NEWLINE# #UNINDENT# #UNINDENT# return totals