8000 Move to return to satisfy pep 479 (#233) · irislips/server-client-python@d703fa4 · GitHub
[go: up one dir, main page]

Skip to content

Commit d703fa4

Browse files
authored
Move to return to satisfy pep 479 (tableau#233)
https://www.python.org/dev/peps/pep-0479/
1 parent 71ced7c commit d703fa4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tableauserverclient/server/pager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def __iter__(self):
4747

4848
except IndexError:
4949
# The total count on Server changed while fetching exit gracefully
50-
raise StopIteration
50+
return
5151

5252
def _load_next_page(self, last_pagination_item):
5353
next_page = last_pagination_item.page_number + 1

0 commit comments

Comments
 (0)
0