Skip to content

Commit

Permalink
Fix typo in dispatcher.py comment (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
pradn committed Feb 21, 2020
1 parent a1855d1 commit 380cb38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion google/cloud/pubsub_v1/subscriber/_protocol/dispatcher.py
Expand Up @@ -114,7 +114,7 @@ def dispatch_callback(self, items):
if batched_commands[requests.ModAckRequest]:
self.modify_ack_deadline(batched_commands.pop(requests.ModAckRequest))
# Note: Drop and ack *must* be after lease. It's possible to get both
# the lease the and ack/drop request in the same batch.
# the lease and the ack/drop request in the same batch.
if batched_commands[requests.AckRequest]:
self.ack(batched_commands.pop(requests.AckRequest))
if batched_commands[requests.NackRequest]:
Expand Down

0 comments on commit 380cb38

Please sign in to comment.