Minor output bug fix

This commit is contained in:
Bernardo Damele 2010-05-11 14:15:03 +00:00
parent 457d32c73e
commit 8b74c405f5
2 changed files with 1 additions and 5 deletions

View File

@ -55,10 +55,6 @@ def __goInference(payload, expression, charsetType=None, firstChar=None, lastCha
count, value = bisection(payload, expression, length, charsetType, firstChar, lastChar)
if conf.eta and length:
infoMsg = "retrieved: %s" % value
logger.info(infoMsg)
debugMsg = "performed %d queries in %d seconds" % (count, int(time.time() - start))
logger.debug(debugMsg)

View File

@ -353,7 +353,7 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None
if conf.verbose >= 1 or showEta:
dataToStdout("\n")
if ( conf.verbose in ( 1, 2 ) and showEta and len(str(progress)) >= 64 ) or conf.verbose >= 3:
if ( conf.verbose in ( 1, 2 ) and showEta ) or conf.verbose >= 3:
infoMsg = "retrieved: %s" % finalValue
logger.info(infoMsg)