@@ -99,7 +99,7 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None
9999 debugMsg = "starting %d thread%s" % (numThreads , ("s" if numThreads > 1 else "" ))
100100 logger .debug (debugMsg )
101101
102- if conf .verbose >= 1 and not showEta :
102+ if conf .verbose in ( 1 , 2 ) and not showEta :
103103 if isinstance (length , int ) and conf .threads > 1 :
104104 dataToStdout ("[%s] [INFO] retrieved: %s" % (time .strftime ("%X" ), "_" * min (length , conf .progressWidth )))
105105 dataToStdout ("\r [%s] [INFO] retrieved: " % time .strftime ("%X" ))
@@ -413,7 +413,7 @@ def downloadThread():
413413 if isinstance (finalValue , basestring ) and len (finalValue ) > 0 :
414414 dataToSessionFile (replaceNewlineTabs (finalValue ))
415415
416- if conf .verbose >= 1 and not showEta and infoMsg :
416+ if conf .verbose in ( 1 , 2 ) and not showEta and infoMsg :
417417 dataToStdout (infoMsg )
418418
419419 kb .locks .seqLock = None
@@ -452,7 +452,7 @@ def downloadThread():
452452
453453 if showEta :
454454 etaProgressUpdate (time .time () - charStart , len (commonValue ))
455- elif conf .verbose >= 1 :
455+ elif conf .verbose in ( 1 , 2 ) :
456456 dataToStdout (commonValue [index - 1 :])
457457
458458 finalValue = commonValue
@@ -500,10 +500,10 @@ def downloadThread():
500500
501501 if showEta :
502502 etaProgressUpdate (time .time () - charStart , index )
503- elif conf .verbose >= 1 :
503+ elif conf .verbose in ( 1 , 2 ) :
504504 dataToStdout (val )
505505
506- if conf .verbose >= 1 or showEta :
506+ if conf .verbose in ( 1 , 2 ) or showEta :
507507 dataToStdout ("\n " )
508508
509509 if ( conf .verbose in ( 1 , 2 ) and showEta ) or conf .verbose >= 3 :
0 commit comments