From 97bd5355dd53e1c8605b6a27e7681906171b0ae3 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 26 May 2011 21:18:55 +0000 Subject: [PATCH] minor update --- lib/controller/checks.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/controller/checks.py b/lib/controller/checks.py index e744aa0b7..49de58365 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -131,8 +131,8 @@ def checkSqlInjection(place, parameter, value): # value # Parse test's if test.risk > conf.risk: - debugMsg = "skipping test '%s' because the risk " % title - debugMsg += "is higher than the provided" + debugMsg = "skipping test '%s' because the risk (%d) " % (title, test.risk) + debugMsg += "is higher than the provided (%d)" % conf.risk logger.debug(debugMsg) continue @@ -140,9 +140,8 @@ def checkSqlInjection(place, parameter, value): # value # Parse test's if test.level > conf.level: - debugMsg = "skipping test '%s' because the level" % title - debugMsg += ", %d, is higher than the provided" % test.level - debugMsg += ", %d" % conf.level + debugMsg = "skipping test '%s' because the level (%d) " % (title, test.level) + debugMsg += "is higher than the provided (%d)" % conf.level logger.debug(debugMsg) continue