Dealing with deprecated next()

This commit is contained in:
Miroslav Stampar
2019-01-22 02:47:06 +01:00
parent 2c270ed250
commit 1adc66b763
13 changed files with 32 additions and 32 deletions

View File

@@ -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