From 75e1ccc6513c4529e47007105b7c523755f8e0c0 Mon Sep 17 00:00:00 2001 From: Caroline Tice Date: Sat, 12 Dec 2015 22:57:07 -0800 Subject: Fix two minor bugs introduced in the Fix-It that broke nightly tests. BUG=None TEST=Tested with role account running simple crosperf test. Change-Id: Ib9d69ce8815b674ad57784d90c7e3cc7a3fba6ed Reviewed-on: https://chrome-internal-review.googlesource.com/241967 Reviewed-by: Luis Lozano Commit-Queue: Luis Lozano Tested-by: Luis Lozano --- crosperf/field.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'crosperf/field.py') diff --git a/crosperf/field.py b/crosperf/field.py index 9106dbe7..b70fb557 100644 --- a/crosperf/field.py +++ b/crosperf/field.py @@ -97,6 +97,13 @@ class ListField(Field): def GetString(self): return " ".join(self._value) + def Append(self, value): + v = self._Parse(value) + if not self._value: + self._value = v + else: + self._value += v + self.assigned = True class EnumField(Field): """Class of enum field.""" -- cgit v1.2.3