Merge lp://staging/~free.ekanayaka/txamqp/distinguish-channel-and-connection-errors into lp://staging/txamqp
Proposed by
Free Ekanayaka
Status: | Merged |
---|---|
Merged at revision: | 77 |
Proposed branch: | lp://staging/~free.ekanayaka/txamqp/distinguish-channel-and-connection-errors |
Merge into: | lp://staging/txamqp |
Diff against target: |
450 lines (+129/-34) 8 files modified
setup.py (+1/-1) src/txamqp/client.py (+22/-1) src/txamqp/protocol.py (+13/-4) src/txamqp/test/test_basic.py (+23/-7) src/txamqp/test/test_broker.py (+3/-3) src/txamqp/test/test_exchange.py (+26/-5) src/txamqp/test/test_protocol.py (+29/-1) src/txamqp/test/test_queue.py (+12/-12) |
To merge this branch: | bzr merge lp://staging/~free.ekanayaka/txamqp/distinguish-channel-and-connection-errors |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alberto Donato (community) | Approve | ||
Review via email:
|
Description of the change
Sub-class the generic txamqp.
Note that these are protocol-level errors, non transport-level ones (i.e. the TCP connection is still open after they happen).
While at it, some try/except blocks were migrated to py3-compatible syntax ("Exception, e:" vs "Exception as e:").
To post a comment you must log in.
nice, +1
just a few nits inline