From: Michael Tremer Date: Thu, 28 Feb 2013 14:25:56 +0000 (+0000) Subject: system: Always read /proc/cpuinfo to its end. X-Git-Tag: 0.9.25~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=018023970009f5766cfee3c1f55f76730ef62019;p=pakfire.git system: Always read /proc/cpuinfo to its end. On ARM there are no blocks per CPU, so we read the entire file and have all the information we need. --- diff --git a/python/pakfire/system.py b/python/pakfire/system.py index 9a5d546aa..4c375cc94 100644 --- a/python/pakfire/system.py +++ b/python/pakfire/system.py @@ -112,10 +112,6 @@ class System(object): with open("/proc/cpuinfo") as f: for line in f.readlines(): - # Only parse the first block. - if line == "\n": - break - try: # Split the lines by colons. a, b = line.split(":")