Merge "Replace 'raise StopIteration' with 'return'"
This commit is contained in:
commit
398bb0613b
|
@ -125,7 +125,7 @@ class Controller(object):
|
|||
if limit:
|
||||
limit -= 1
|
||||
if limit <= 0:
|
||||
raise StopIteration
|
||||
return
|
||||
|
||||
try:
|
||||
next_url = body['next']
|
||||
|
|
Loading…
Reference in New Issue