Update for an Issue #636 (to prevent eventual future reports with lack of stack trace)

This commit is contained in:
Miroslav Stampar 2014-03-11 21:18:31 +01:00
parent 2f8846caec
commit 17742df0fa

View File

@ -1498,7 +1498,7 @@ def safeStringFormat(format_, params):
if count < len(params):
retVal = retVal[:index] + getUnicode(params[count]) + retVal[index + 2:]
else:
raise SqlmapNoneDataException("wrong number of parameters during string formatting")
raise Exception("wrong number of parameters during string formatting")
count += 1
return retVal