bug fix introduced with 863d5a6281

This commit is contained in:
Bernardo Damele 2015-02-15 20:07:52 +00:00
parent 84349a370a
commit e17d212c23

View File

@ -233,7 +233,7 @@ def checkSqlInjection(place, parameter, value):
# Skip test if the level is higher than the provided (or default)
# value
# Parse test's <level>
if not conf.testFilter and not test.level > conf.level:
if not conf.testFilter and test.level > 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)