Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 97bd535

Browse files
committed
minor update
1 parent 5d56e89 commit 97bd535

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

lib/controller/checks.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -131,18 +131,17 @@ def checkSqlInjection(place, parameter, value):
131131
# value
132132
# Parse test's <risk>
133133
if test.risk > conf.risk:
134-
debugMsg = "skipping test '%s' because the risk " % title
135-
debugMsg += "is higher than the provided"
134+
debugMsg = "skipping test '%s' because the risk (%d) " % (title, test.risk)
135+
debugMsg += "is higher than the provided (%d)" % conf.risk
136136
logger.debug(debugMsg)
137137
continue
138138

139139
# Skip test if the level is higher than the provided (or default)
140140
# value
141141
# Parse test's <level>
142142
if test.level > conf.level:
143-
debugMsg = "skipping test '%s' because the level" % title
144-
debugMsg += ", %d, is higher than the provided" % test.level
145-
debugMsg += ", %d" % conf.level
143+
debugMsg = "skipping test '%s' because the level (%d) " % (title, test.level)
144+
debugMsg += "is higher than the provided (%d)" % conf.level
146145
logger.debug(debugMsg)
147146
continue
148147

0 commit comments

Comments
 (0)