pika/pika — pull request #305 by rcarz (2013-03-18 00:19:12+00:00)
Title: Fixed channel close event calling convention

Changes made in c221b5aee2 breaks server-side channel close events. As it is now, an exception is thrown. Per https://github.com/pika/pika/blob/master/pika/channel.py#L93 the callback expects a method frame.

exceptions.TypeError: channel_closed() takes exactly 2 arguments (4 given)