mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 05:01:30 +00:00
Replacing old and deprecated raise Exception style (PEP8)
This commit is contained in:
@@ -39,7 +39,7 @@ class HashDB(object):
|
||||
except Exception, ex:
|
||||
errMsg = "error occurred while opening a session "
|
||||
errMsg += "file '%s' ('%s')" % (self.filepath, ex)
|
||||
raise SqlmapDataException, errMsg
|
||||
raise SqlmapDataException(errMsg)
|
||||
|
||||
return threadData.hashDBCursor
|
||||
|
||||
|
||||
Reference in New Issue
Block a user