summaryrefslogtreecommitdiff
path: root/meta/classes/toaster.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/toaster.bbclass')
-rw-r--r--meta/classes/toaster.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/toaster.bbclass b/meta/classes/toaster.bbclass
index 4fb52a969e..bbda2f8433 100644
--- a/meta/classes/toaster.bbclass
+++ b/meta/classes/toaster.bbclass
@@ -212,10 +212,10 @@ python toaster_collect_task_stats() {
cpu_usage = str(statinfo["CPU usage"]).strip('% \n\r')
if "IO write_bytes" in statinfo:
- disk_io = disk_io + str(statinfo["IO write_bytes"]).strip('% \n\r')
+ disk_io = disk_io + int(statinfo["IO write_bytes"].strip('% \n\r'))
if "IO read_bytes" in statinfo:
- disk_io = disk_io + str(statinfo["IO read_bytes"]).strip('% \n\r')
+ disk_io = disk_io + int(statinfo["IO read_bytes"].strip('% \n\r'))
if "Started" in statinfo:
started = str(statinfo["Started"]).strip('% \n\r')