error message adjustment

This commit is contained in:
Bernardo Damele 2011-04-21 22:31:02 +00:00
parent eabb5a2ba7
commit f3088079c0

View File

@ -61,8 +61,8 @@ def comparison(page, getRatioValue=False, pageLength=None):
if kb.nullConnection and pageLength: if kb.nullConnection and pageLength:
if not seqMatcher.a: if not seqMatcher.a:
errMsg = "problem occured while retrieving original page content " errMsg = "problem occured while retrieving original page content "
errMsg += "which prevents sqlmap from continuation. please rerun, " errMsg += "which prevents sqlmap from continuation. Please rerun, "
errMsg += "and if problem persists please turn off optimization switches" errMsg += "and if the problem persists turn off any optimization switches"
raise sqlmapNoneDataException, errMsg raise sqlmapNoneDataException, errMsg
ratio = 1. * pageLength / len(seqMatcher.a) ratio = 1. * pageLength / len(seqMatcher.a)