Skip to content

Conversation

@daspecster
Copy link
Contributor

Possible fix for #1955, checking the length of self.messages before __exit__.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jul 4, 2016
@tseaver
Copy link
Contributor

tseaver commented Jul 4, 2016

@daspecster I think a more comprehensive fix would be to check self.messages inside Batch.commit, and exit early. We do document the imperative Batch API, which would still be broken otherwise.

@tseaver
Copy link
Contributor

tseaver commented Jul 4, 2016

LGTM

@daspecster daspecster merged commit eddc4e0 into googleapis:master Jul 4, 2016
@daspecster daspecster deleted the fix-pupsub-exit-context-no-commits branch July 4, 2016 17:48
This was referenced Aug 3, 2016
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