#NEWLINE# def write( self , message ) : #NEWLINE# #INDENT# self . log . write ( message ) #NEWLINE# self . log . flush ( ) #NEWLINE# if ( self . buf is not None ) : #NEWLINE# #INDENT# self . buf . write ( message ) #NEWLINE# self . buf . flush ( )