Got rid of progression log message as it overlaps with WARNINGS (like "Got 500") and with --parse-errors

This commit is contained in:
Bernardo Damele 2011-01-20 22:02:20 +00:00
parent 0f2634c4b0
commit 03a880c6f1

View File

@ -12,8 +12,6 @@ import time
from lib.core.agent import agent
from lib.core.common import calculateDeltaSeconds
from lib.core.common import clearConsoleLine
from lib.core.common import dataToStdout
from lib.core.common import backend
from lib.core.common import getUnicode
from lib.core.common import initTechnique
@ -233,22 +231,11 @@ def unionUse(expression, direct=False, unescape=True, resetCounter=False, unpack
value += output
parseUnionPage(output, limitedExpr)
if conf.verbose in (1, 2):
length = stopLimit - startLimit
count = num - startLimit + 1
status = '%d/%d entries (%d%s)' % (count, length, round(100.0*count/length), '%')
dataToStdout("\r[%s] [INFO] retrieved: %s" % (time.strftime("%X"), status), True)
dataToStdout("\n")
except KeyboardInterrupt:
print
warnMsg = "Ctrl+C detected in dumping phase"
logger.warn(warnMsg)
finally:
clearConsoleLine(True)
return value
value = unionUse(expression, direct=True, unescape=False)