From 018023970009f5766cfee3c1f55f76730ef62019 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 28 Feb 2013 14:25:56 +0000 Subject: [PATCH] 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. --- python/pakfire/system.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/python/pakfire/system.py b/python/pakfire/system.py index 9a5d546a..4c375cc9 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(":") -- 2.39.2