mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Dealing with deprecated next()
This commit is contained in:
parent
2c270ed250
commit
1adc66b763
13 changed files with 32 additions and 32 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue