]> git.ipfire.org Git - oddments/fireinfo.git/commit
bogomips: Don't crash when no bogomips are available
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 28 Oct 2014 20:14:41 +0000 (21:14 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 28 Oct 2014 20:14:41 +0000 (21:14 +0100)
commita9401d9542fae575d9ce2bb534cd4e598e9c7b8e
tree7d8344ce68ccf9a7571fd6ffde9d3c76a215277a
parentc7514bc1ea3fc40df61a82fa8e980b3e7a004a02
bogomips: Don't crash when no bogomips are available

The RPi doesn't provide bogomips in /proc/cpuinfo any more
and fireinfo crashed when trying to read that file
src/fireinfo/cpu.py
src/fireinfo/system.py