#NEWLINE# def dataReceived( self , bytes ) : #NEWLINE# #INDENT# self . received . append ( bytes ) #NEWLINE# if ( sum ( map ( len , bytes . received ) ) >= self . howMany ) : #NEWLINE# #INDENT# self . transport . loseConnection ( )