#NEWLINE# def write( self , sock , data ) : #NEWLINE# #INDENT# user = self . users [ sock ] #NEWLINE# ( host , port ) = ( user . host , user . port ) #NEWLINE# self . logger . info ( 'O: [{0:s}:{1:d}] {2:s}' . format ( host , port , repr ( data ) ) )