mirror of https://github.com/celery/kombu.git
Removed connection argument, since the connection already exists on the channel
This commit is contained in:
parent
4dc37d70d9
commit
7ecbe1fae2
|
@ -62,7 +62,7 @@ class BrokerConnection(object):
|
|||
return self.backend.create_channel(self.connection)
|
||||
|
||||
def drain_events(self, **kwargs):
|
||||
return self.backend.drain_events(self.connection, **kwargs)
|
||||
return self.backend.drain_events(**kwargs)
|
||||
|
||||
def close(self):
|
||||
"""Close the currently open connection."""
|
||||
|
|
Loading…
Reference in New Issue