mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Dealing with deprecated next()
This commit is contained in:
@@ -405,7 +405,7 @@ def errorUse(expression, dump=False):
|
||||
with kb.locks.limit:
|
||||
try:
|
||||
threadData.shared.counter += 1
|
||||
num = threadData.shared.limits.next()
|
||||
num = next(threadData.shared.limits)
|
||||
except StopIteration:
|
||||
break
|
||||
|
||||
|
||||
Reference in New Issue
Block a user