Fixing sqs drain_events issues (#698)

This commit is contained in:
Michael Montgomery 2017-04-01 11:23:38 -05:00 committed by Asif Saifuddin Auvi
parent 3bc3b3d3b6
commit 35270dd970
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ class Channel(virtual.Channel):
self._noack_queues.discard(queue)
return super(Channel, self).basic_cancel(consumer_tag)
def drain_events(self, timeout=None):
def drain_events(self, timeout=None, **kwargs):
"""Return a single payload message from one of our queues.
Raises: