#NEWLINE# def raw_send( self , data ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# self . socket . sendall ( data ) #NEWLINE# #UNINDENT# except socket_error as e : #NEWLINE# #INDENT# if ( e . errno == ECONNRESET ) : #NEWLINE# #INDENT# raise ConnectionLost ( ) #NEWLINE# #UNINDENT# raise #NEWLINE# #UNINDENT# log . send ( self . socket , data )