#NEWLINE# def _print_debug( self ) : #NEWLINE# #INDENT# if ( self . debug >= 1 ) : #NEWLINE# #INDENT# sys . stdout = sys . __stdout__ #NEWLINE# debug_info = '' . join ( self . http_log . content ) . replace ( '\\r' , '' ) . decode ( 'string_escape' ) . replace ( "'" , '' ) #NEWLINE# debug_info = '\n' . join ( [ ll . rstrip ( ) for ll in debug_info . splitlines ( ) if ll . strip ( ) ] ) #NEWLINE# self . builtin . log ( debug_info , 'DEBUG' )