@@ -735,7 +735,7 @@ def dataToStdout(data, forceOutput=False):
735735 sys .stdout .flush ()
736736 if kb .get ("multiThreadMode" ):
737737 logging ._releaseLock ()
738- setFormatterPrependFlag (len (data ) == 1 and data != '\n ' or len (data ) > 2 and data [0 ] == '\r ' and data [- 1 ] != '\n ' )
738+ setFormatterPrependFlag (len (data ) == 1 and data not in ( '\n ' , ' \r ' ) or len (data ) > 2 and data [0 ] == '\r ' and data [- 1 ] != '\n ' )
739739
740740def dataToSessionFile (data ):
741741 if not conf .sessionFile or kb .suppressSession :
@@ -1627,6 +1627,7 @@ def clearConsoleLine(forceOutput=False):
16271627 """
16281628
16291629 dataToStdout ("\r %s\r " % (" " * (getConsoleWidth () - 1 )), forceOutput )
1630+ setFormatterPrependFlag (False )
16301631
16311632def parseXmlFile (xmlFile , handler ):
16321633 """
@@ -2447,8 +2448,7 @@ def initTechnique(technique=None):
24472448
24482449def arrayizeValue (value ):
24492450 """
2450- Makes a list out of value if it is not already a list, tuple or set
2451- itself
2451+ Makes a list out of value if it is not already a list or tuple itself
24522452 """
24532453
24542454 if not isinstance (value , (list , tuple )):
@@ -2458,8 +2458,7 @@ def arrayizeValue(value):
24582458
24592459def unArrayizeValue (value ):
24602460 """
2461- Makes a value out of iterable if it is a list, tuple or set
2462- itself
2461+ Makes a value out of iterable if it is a list or tuple itself
24632462 """
24642463
24652464 if isinstance (value , (list , tuple )):
0 commit comments