Skip to content

Commit

Permalink
Fix limit occurrences to 100 (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
eikichi18 authored Jun 12, 2024
1 parent e5665a5 commit 3b5232f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ Changelog
5.4.10 (unreleased)
-------------------

- Nothing changed yet.
- Fixed limit event occurrences to 100.
[eikichi18]


5.4.9 (2024-04-22)
Expand Down
2 changes: 1 addition & 1 deletion src/redturtle/volto/monkey.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def get_obj(start):
"Too many occurrences for %s, stopping at 100",
self.context.absolute_url(),
)
raise StopIteration
return
limit -= 1
yield get_obj(start)

Expand Down

0 comments on commit 3b5232f

Please sign in to comment.