mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 20:51:31 +00:00
Replacing old and deprecated raise Exception style (PEP8)
This commit is contained in:
@@ -252,7 +252,7 @@ class Agent(object):
|
||||
else:
|
||||
errMsg = "invalid usage of inference payload without "
|
||||
errMsg += "knowledge of underlying DBMS"
|
||||
raise SqlmapNoneDataException, errMsg
|
||||
raise SqlmapNoneDataException(errMsg)
|
||||
|
||||
return payload
|
||||
|
||||
|
||||
Reference in New Issue
Block a user