Merge lp:~bladernr/checkbox/1111878-cpu_topology-KeyError into lp:checkbox
Proposed by
Jeff Lane
Status: | Merged |
---|---|
Approved by: | Daniel Manrique |
Approved revision: | 2098 |
Merged at revision: | 2098 |
Proposed branch: | lp:~bladernr/checkbox/1111878-cpu_topology-KeyError |
Merge into: | lp:checkbox |
Diff against target: |
25 lines (+3/-1) 2 files modified
debian/changelog (+2/-0) scripts/cpu_topology (+1/-1) |
To merge this branch: | bzr merge lp:~bladernr/checkbox/1111878-cpu_topology-KeyError |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daniel Manrique (community) | Approve | ||
Review via email: mp+161913@code.launchpad.net |
Description of the change
fixed cpuinfo part to define the keys for each cpu dict at creation time rather than during parsing. This should resolve a corner case where /proc/cpuinfo may not have a 'physical id' or 'core id' item, causing the script to throw a KeyError later on.
To post a comment you must log in.
Looks OK, reasonable solution. Let's hope the reporter sends his cpuinfo dump to test this!