#NEWLINE# def _recv_response( self , socket ) : #NEWLINE# #INDENT# ( first_line , headers , body ) = self . _recv_all ( socket ) #NEWLINE# symbols = [ s . decode ( 'ascii' ) for s in symbols_pattern . findall ( body ) ] #NEWLINE# match = first_line_pattern . match ( first_line ) #NEWLINE# if ( not match ) : #NEWLINE# #INDENT# raise SpamAssassinError ( ) #NEWLINE# #UNINDENT# spammy = False #NEWLINE# match = spammy_pattern . search ( headers ) #NEWLINE# if ( match and ( match . group ( 1 ) == b'True' ) ) : #NEWLINE# #INDENT# spammy = True #NEWLINE# #UNINDENT# return ( spammy , symbols )