#NEWLINE# def getTubeStats( self , tubes ) : #NEWLINE# #INDENT# dl = [ ] #NEWLINE# for tube in tubes : #NEWLINE# #INDENT# d = self . factory . client . stats_tube ( tube ) #NEWLINE# d . addCallback ( self . gotStats , ( '%s.tube.%s' % ( self . basePath , tube ) ) ) #NEWLINE# d . addErrback ( log . err ) #NEWLINE# dl . append ( d ) #NEWLINE# #UNINDENT# return defer . gatherResults ( dl )