Doing some more style updating (capitalization of exception classes; using _ is enough for private members - __ is used in Python specific methods)

This commit is contained in:
Miroslav Stampar
2012-12-06 14:14:19 +01:00
parent 003d21e962
commit 974407396e
102 changed files with 1115 additions and 1091 deletions

View File

@@ -8,7 +8,7 @@ See the file 'doc/COPYING' for copying permission
import urllib
import urllib2
from lib.core.exception import sqlmapConnectionException
from lib.core.exception import SqlmapConnectionException
class HTTPRangeHandler(urllib2.BaseHandler):
"""
@@ -47,4 +47,4 @@ class HTTPRangeHandler(urllib2.BaseHandler):
def http_error_416(self, req, fp, code, msg, hdrs):
# HTTP's Range Not Satisfiable error
errMsg = "Invalid range"
raise sqlmapConnectionException, errMsg
raise SqlmapConnectionException, errMsg