mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Replacing old and deprecated raise Exception style (PEP8)
This commit is contained in:
@@ -57,7 +57,7 @@ class HTTPSConnection(httplib.HTTPSConnection):
|
||||
logger.debug("SSL connection error occured ('%s')" % errMsg)
|
||||
|
||||
if not success:
|
||||
raise SqlmapConnectionException, "can't establish SSL connection"
|
||||
raise SqlmapConnectionException("can't establish SSL connection")
|
||||
|
||||
class HTTPSHandler(urllib2.HTTPSHandler):
|
||||
def https_open(self, req):
|
||||
|
||||
Reference in New Issue
Block a user