mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
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:
parent
003d21e962
commit
974407396e
102 changed files with 1115 additions and 1091 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue