There was an error while loading. Please reload this page.
2 parents 938fc0a + 697cda2 commit 61eaad2Copy full SHA for 61eaad2
1 file changed
gitlab/__init__.py
@@ -837,8 +837,10 @@ def next(self):
837
self._current += 1
838
return item
839
except IndexError:
840
- if self._next_url and self._get_next is True:
841
- self._query(self._next_url)
842
- return self.next()
+ pass
843
844
- raise StopIteration
+ if self._next_url and self._get_next is True:
+ self._query(self._next_url)
+ return self.next()
845
+
846
+ raise StopIteration
0 commit comments