diff options
author | Zhizhou Yang <zhizhouy@google.com> | 2019-01-17 14:39:58 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-01-22 21:05:21 -0800 |
commit | 42199fae69016e15d6840646fac13a540aeb59ce (patch) | |
tree | f95d96ca90c3a82e6fee7f71482736b551a5e490 /cros_utils | |
parent | 5e390bb543637eb9cd80ce1584f21d161b92097e (diff) | |
download | toolchain-utils-42199fae69016e15d6840646fac13a540aeb59ce.tar.gz |
crosperf: fix bug in perf table generating
This patch fixes a bug in perf table generating, by removing an unused
argument from AddLabelName().
TEST=passed local unit tests and a sample test on device.
BUG=chromium:923143
Change-Id: I16fb0d1baaa76be523073de1e9768c1b1ee799d6
Reviewed-on: https://chromium-review.googlesource.com/1419298
Commit-Ready: Zhizhou Yang <zhizhouy@google.com>
Tested-by: Zhizhou Yang <zhizhouy@google.com>
Reviewed-by: Caroline Tice <cmtice@chromium.org>
Diffstat (limited to 'cros_utils')
-rw-r--r-- | cros_utils/tabulator.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cros_utils/tabulator.py b/cros_utils/tabulator.py index cbc261b0..e839c65d 100644 --- a/cros_utils/tabulator.py +++ b/cros_utils/tabulator.py @@ -1109,7 +1109,7 @@ class TableFormatter(object): fails = fails + 1 return passes, fails - def AddLabelName(self, table_type): + def AddLabelName(self): """Put label on the top of the table.""" top_header = [] base_colspan = len( @@ -1178,7 +1178,7 @@ class TableFormatter(object): self.GenerateCellTable(table_type) if headers: self.AddColumnName() - self.AddLabelName(table_type) + self.AddLabelName() return self._out_table |