mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-09 14:11:29 +00:00
Dealing with deprecated next()
This commit is contained in:
2
thirdparty/odict/odict.py
vendored
2
thirdparty/odict/odict.py
vendored
@@ -609,7 +609,7 @@ class _OrderedDict(dict):
|
||||
TypeError: pop expected at most 2 arguments, got 3
|
||||
"""
|
||||
if len(args) > 1:
|
||||
raise TypeError, ('pop expected at most 2 arguments, got %s' %
|
||||
raise TypeError('pop expected at most 2 arguments, got %s' %
|
||||
(len(args) + 1))
|
||||
if key in self:
|
||||
val = self[key]
|
||||
|
||||
Reference in New Issue
Block a user