Merge lp://staging/~bryce/apport/omit_empty into lp://staging/~apport-hackers/apport/trunk
Proposed by
Bryce Harrington
Status: | Merged |
---|---|
Merged at revision: | 1918 |
Proposed branch: | lp://staging/~bryce/apport/omit_empty |
Merge into: | lp://staging/~apport-hackers/apport/trunk |
Diff against target: |
41 lines (+6/-4) 1 file modified
apport/hookutils.py (+6/-4) |
To merge this branch: | bzr merge lp://staging/~bryce/apport/omit_empty |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Martin Pitt (community) | Approve | ||
Review via email: mp+68616@code.staging.launchpad.net |
Description of the change
Fixes a couple typos
Fixes 813798 by adding 'omit_empty' flag to attach_
To post a comment you must log in.
Thanks for the typo fixes!
As for the attach_ root_command_ outputs( ) fix, I feel that it would make more sense to just always skip empty keys. Also, I think we should always strip() the result, leading and trailing empty lines have little information (I'm not aware of apport hooks that attach brainfuck source :) ).
So WDYT about this:
buf = f.read.strip()
if not buf:
continue
?