Merge lp:~max-rabkin/ibid/debug-655643 into lp:~ibid-core/ibid/old-trunk-1.6
Proposed by
Max Rabkin
Status: | Merged |
---|---|
Approved by: | Stefano Rivera |
Approved revision: | 978 |
Merged at revision: | 979 |
Proposed branch: | lp:~max-rabkin/ibid/debug-655643 |
Merge into: | lp:~ibid-core/ibid/old-trunk-1.6 |
Diff against target: |
42 lines (+19/-5) 1 file modified
ibid/plugins/debug.py (+19/-5) |
To merge this branch: | bzr merge lp:~max-rabkin/ibid/debug-655643 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jonathan Hitchcock | Approve | ||
Stefano Rivera | Approve | ||
Review via email: mp+38408@code.launchpad.net |
This proposal supersedes a proposal from 2010-10-06.
Commit message
Improve robustness of debug plugin, esp wrt non-message events.
Description of the change
Untested
To post a comment you must log in.
Should we not be doing something like
def extract_ message( msg):
if isinstance(msg, dict):
return msg.get('raw', msg)
return msg