Missing user generates a TypeError
Bug #941856 reported by
Aurélien Bompard
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
txAMQP |
Fix Released
|
Medium
|
Unassigned |
Bug Description
If I try to log on to an AMQP server with a wrong username, I get a TypeError because of a bug in client.py.
The very last line of the file is :
self.
it should read :
self.
The "reason" here is a Message instance. If it is not wrapped in an exception, a TypeError will be raised when the deferred's "errback" method is called (in _fire_deferred, same file)
Here's some code to demonstrate it : http://
Changed in txamqp: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in trunk. Thanks a lot for the patch!