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