Minor language fix

This commit is contained in:
Miroslav Stampar
2013-07-31 09:24:34 +02:00
parent 941b2387c0
commit eaacbe0b12
6 changed files with 8 additions and 8 deletions

View File

@@ -90,7 +90,7 @@ def _comparison(page, headers, code, getRatioValue, pageLength):
if kb.nullConnection and pageLength:
if not seqMatcher.a:
errMsg = "problem occured while retrieving original page content "
errMsg = "problem occurred while retrieving original page content "
errMsg += "which prevents sqlmap from continuation. Please rerun, "
errMsg += "and if the problem persists turn off any optimization switches"
raise SqlmapNoneDataException(errMsg)

View File

@@ -434,7 +434,7 @@ class Connect(object):
conn.fp._sock.close()
conn.close()
except Exception, msg:
warnMsg = "problem occured during connection closing ('%s')" % msg
warnMsg = "problem occurred during connection closing ('%s')" % msg
logger.warn(warnMsg)
except urllib2.HTTPError, e:

View File

@@ -54,7 +54,7 @@ class HTTPSConnection(httplib.HTTPSConnection):
else:
sock.close()
except ssl.SSLError, errMsg:
logger.debug("SSL connection error occured ('%s')" % errMsg)
logger.debug("SSL connection error occurred ('%s')" % errMsg)
if not success:
raise SqlmapConnectionException("can't establish SSL connection")