From 62dcc5c12720622b2344bcfdd7be5d0cfff975c5 Mon Sep 17 00:00:00 2001 From: Jan Vcelak Date: Sun, 29 Oct 2045 16:17:06 +0100 Subject: [PATCH] 530457 - [abrt] crash detected in tuned-0.2.5-0.1.fc12 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcela Mašláňová --- tuned.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tuned.py b/tuned.py index bfc5dfa..e98abbf 100644 --- a/tuned.py +++ b/tuned.py @@ -75,7 +75,9 @@ class Tuned: while True: lh = {} for p in self.mp: - lh.update(p.getLoad()) + load = p.getLoad() + if load != None: + lh.update(load) for p in self.tp: p.setTuning(lh) time.sleep(self.interval)