Merge "Replace 'raise StopIteration' with 'return'"

This commit is contained in:
Zuul 2018-07-17 23:03:57 +00:00 committed by Gerrit Code Review
commit 398bb0613b
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ class Controller(object):
if limit:
limit -= 1
if limit <= 0:
raise StopIteration
return
try:
next_url = body['next']