Duplicated code in scripts accessing modinfo
Bug #1043521 reported by
Jeff Lane
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox |
Fix Released
|
Medium
|
Jeff Lane |
Bug Description
There are a number of scripts that are parsing modinfo using essentially the same routines. This should be split out into a parser for modinfo streams that everyone can use the same way without coming up with 15 different ways to get modinfo data.
Related branches
lp:~bladernr/checkbox/1043521
- Daniel Manrique (community): Approve
- Jeff Lane : Needs Resubmitting
-
Diff: 304 lines (+146/-49)5 files modifiedcheckbox/parsers/modinfo.py (+81/-0)
debian/changelog (+6/-1)
scripts/accelerometer_test (+12/-8)
scripts/audio_driver_info (+24/-20)
scripts/network_device_info (+23/-20)
lp:~sylvain-pineau/checkbox/0.15
- Daniel Manrique (community): Approve
-
Diff: 1477 lines (+506/-529) (has conflicts)1 file modifieddebian/changelog (+506/-529)
Changed in checkbox: | |
assignee: | nobody → Jeff Lane (bladernr) |
status: | New → In Progress |
importance: | Undecided → Medium |
Changed in checkbox: | |
status: | In Progress → Fix Committed |
Changed in checkbox: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.