minor update

This commit is contained in:
Miroslav Stampar 2012-03-30 10:37:46 +00:00
parent 6acf6b193a
commit 79c3d6f2aa

View File

@ -2655,8 +2655,8 @@ def removeReflectiveValues(content, payload, suppressWarning=False):
if retVal != content:
kb.reflectiveCounters[REFLECTIVE_COUNTER.HIT] += 1
if not suppressWarning:
debugMsg = "reflective value found and filtered out"
logger.debug(debugMsg)
warnMsg = "reflective value(s) found and filtering out"
singleTimeWarnMessage(warnMsg)
elif not kb.testMode and not kb.reflectiveCounters[REFLECTIVE_COUNTER.HIT]:
kb.reflectiveCounters[REFLECTIVE_COUNTER.MISS] += 1