Merge lp:~bladernr/checkbox/1066118-modinfo-parser into lp:checkbox
Proposed by
Jeff Lane
Status: | Merged |
---|---|
Approved by: | Sylvain Pineau |
Approved revision: | 1789 |
Merged at revision: | 1789 |
Proposed branch: | lp:~bladernr/checkbox/1066118-modinfo-parser |
Merge into: | lp:checkbox |
Diff against target: |
57 lines (+22/-13) 2 files modified
checkbox/parsers/modinfo.py (+19/-12) debian/changelog (+3/-1) |
To merge this branch: | bzr merge lp:~bladernr/checkbox/1066118-modinfo-parser |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sylvain Pineau (community) | Approve | ||
Review via email: mp+130829@code.launchpad.net |
Commit message
Added exception handling to address possible bad output from modinfo, by Jeff Lane
Description of the change
Fixes an issue where lines from modinfo that don't match the "key: value" format triggered a ValueError.
Most likely this is caused by blank lines appearing in the stream.
To post a comment you must log in.
Even if having access to the machine where the crash occurred would have helped, I was suspecting blank lines too. This fix works perfectly.