Removed connection argument, since the connection already exists on the channel

This commit is contained in:
sebleier 2010-07-22 12:27:33 -07:00
parent 4dc37d70d9
commit 7ecbe1fae2
1 changed files with 1 additions and 1 deletions

View File

@ -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."""