minor update

This commit is contained in:
Miroslav Stampar 2011-05-26 21:18:55 +00:00
parent 5d56e89cf5
commit 97bd5355dd

View File

@ -131,8 +131,8 @@ def checkSqlInjection(place, parameter, value):
# value # value
# Parse test's <risk> # Parse test's <risk>
if test.risk > conf.risk: if test.risk > conf.risk:
debugMsg = "skipping test '%s' because the risk " % title debugMsg = "skipping test '%s' because the risk (%d) " % (title, test.risk)
debugMsg += "is higher than the provided" debugMsg += "is higher than the provided (%d)" % conf.risk
logger.debug(debugMsg) logger.debug(debugMsg)
continue continue
@ -140,9 +140,8 @@ def checkSqlInjection(place, parameter, value):
# value # value
# Parse test's <level> # Parse test's <level>
if test.level > conf.level: if test.level > conf.level:
debugMsg = "skipping test '%s' because the level" % title debugMsg = "skipping test '%s' because the level (%d) " % (title, test.level)
debugMsg += ", %d, is higher than the provided" % test.level debugMsg += "is higher than the provided (%d)" % conf.level
debugMsg += ", %d" % conf.level
logger.debug(debugMsg) logger.debug(debugMsg)
continue continue