Skip to content

fix: more should be boolean in fetch_page call#423

Merged
cguardia merged 2 commits intogoogleapis:masterfrom
cguardia:fetch_page_more
May 13, 2020
Merged

fix: more should be boolean in fetch_page call#423
cguardia merged 2 commits intogoogleapis:masterfrom
cguardia:fetch_page_more

Conversation

@cguardia
Copy link
Contributor

refs #422

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label May 13, 2020
@cguardia cguardia requested a review from chrisrossi May 13, 2020 07:54
cursor = result.cursor

more = results and (
more = results != [] and (
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would bool(results) be a little cleaner?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants