Skip to content

Commit

Permalink
Fix a use of nonexistent .received_cancelled
Browse files Browse the repository at this point in the history
.received_cancelled was changed to .cancelled() in
81edf5f; this change should have been
a part of that change.
  • Loading branch information
nathanielmanistaatgoogle committed Apr 17, 2018
1 parent 1f13655 commit 4d647cf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def __init__(self):

def _is_cancellation_event(event):
return (event.tag is _RECEIVE_CLOSE_ON_SERVER_TAG and
event.batch_operations[0].received_cancelled)
event.batch_operations[0].cancelled())


class _Handler(object):
Expand Down

0 comments on commit 4d647cf

Please sign in to comment.