From a6ab24e0b5a0f5175baa5c7b64a8c151896a81f8 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 10 Feb 2011 22:47:43 +0000 Subject: [PATCH] just a minor fix to stop nagging with "Do you want to skip test payloads specific for other DBMSes?" if n is pressed --- lib/controller/checks.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/controller/checks.py b/lib/controller/checks.py index b225e9adf..d92ea2a14 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -156,6 +156,8 @@ def checkSqlInjection(place, parameter, value): if conf.realTest or readInput(msg, default="Y") in ("y", "Y"): kb.skipOthersDbms = Backend.getErrorParsedDBMSes() + else: + kb.skipOthersDbms = [] if kb.skipOthersDbms and dbms not in kb.skipOthersDbms: debugMsg = "skipping test '%s' because " % title