Index: tools/telemetry/telemetry/results/csv_pivot_table_output_formatter.py |
diff --git a/tools/telemetry/telemetry/results/csv_pivot_table_output_formatter.py b/tools/telemetry/telemetry/results/csv_pivot_table_output_formatter.py |
index 02da431eaa8331ba77c96dfc3ec0c324acfda31a..eb3a1223efe878198d0911beec35fc092ffe9b27 100644 |
--- a/tools/telemetry/telemetry/results/csv_pivot_table_output_formatter.py |
+++ b/tools/telemetry/telemetry/results/csv_pivot_table_output_formatter.py |
@@ -35,7 +35,7 @@ class CsvPivotTableOutputFormatter(output_formatter.OutputFormatter): |
# Observe trace_tag. Use comma to split up the trace tag. |
tag_values = self._trace_tag.split(',') |
- tag_values = filter(lambda x: x, tag_values) # filter empty list entries |
+ tag_values = [x for x in tag_values if x] # filter empty list entries |
tag_headers = ['trace_tag_%d' % i for i in range(len(tag_values))] |
# Write header. |