mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Dealing with deprecated raises
This commit is contained in:
parent
1d9c11b1c1
commit
ae2b02952f
15 changed files with 46 additions and 50 deletions
|
|
@ -80,7 +80,7 @@ def base64unpickle(value, unsafe=False):
|
|||
if len(self.stack) > 1:
|
||||
func = self.stack[-2]
|
||||
if func not in PICKLE_REDUCE_WHITELIST:
|
||||
raise Exception, "abusing reduce() is bad, Mkay!"
|
||||
raise Exception("abusing reduce() is bad, Mkay!")
|
||||
self.load_reduce()
|
||||
|
||||
def loads(str):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue