From 882e707d7e4f63c8e64fa554e77303c4800258c7 Mon Sep 17 00:00:00 2001 From: Caroline Tice Date: Tue, 16 Aug 2016 10:39:04 -0700 Subject: [crosperf] Fix telemetry results parsing. Many telemetry results fields now contain multiple values. This CL fixes crosperf to accomodate that. BUG=None TEST=Ran crosperf with change and it worked. Change-Id: Iccb8926223c8447b72d51f413756f5dbc09f89de Reviewed-on: https://chrome-internal-review.googlesource.com/276817 Commit-Ready: Caroline Tice Tested-by: Caroline Tice Reviewed-by: Luis Lozano --- cros_utils/tabulator.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cros_utils') diff --git a/cros_utils/tabulator.py b/cros_utils/tabulator.py index 2c26ccad..1a262f17 100644 --- a/cros_utils/tabulator.py +++ b/cros_utils/tabulator.py @@ -259,6 +259,8 @@ class Result(object): baseline_values: List of baseline values. Can be none if this is the baseline itself. """ + if len(values) == 1 and type(values[0]) == list: + values = values[0] all_floats = True values = _StripNone(values) if not values: -- cgit v1.2.3