Minor style update for an Issue #377

This commit is contained in:
Miroslav Stampar
2013-01-25 12:52:31 +01:00
parent 479f791112
commit 8c84a16cb7
2 changed files with 6 additions and 5 deletions

View File

@@ -454,10 +454,6 @@ def checkSqlInjection(place, parameter, value):
warnMsg += "explicitly set it using option '--dbms'"
singleTimeWarnMessage(warnMsg)
else:
warnMsg = "heuristic test showed that the back-end DBMS "
warnMsg += "could be '%s' " % kb.heuristicDbms
singleTimeWarnMessage(warnMsg)
Backend.forceDbms(kb.heuristicDbms)
if unionExtended:
@@ -614,6 +610,11 @@ def heuristicCheckDbms(injection):
Backend.flushForcedDbms()
kb.injection = popValue()
if retVal:
infoMsg = "heuristic test showed that the back-end DBMS "
infoMsg += "could be '%s' " % retVal
logger.info(infoMsg)
return retVal
def checkFalsePositives(injection):