aboutsummaryrefslogtreecommitdiff
path: root/crosperf/column_chart.py
diff options
context:
space:
mode:
Diffstat (limited to 'crosperf/column_chart.py')
-rw-r--r--crosperf/column_chart.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/crosperf/column_chart.py b/crosperf/column_chart.py
index 7e6821d0..400979ee 100644
--- a/crosperf/column_chart.py
+++ b/crosperf/column_chart.py
@@ -1,4 +1,8 @@
-# Copyright 2011 Google Inc. All Rights Reserved.
+# -*- coding: utf-8 -*-
+# Copyright 2011 The Chromium OS Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
"""Module to draw column chart."""
@@ -7,7 +11,7 @@ class ColumnChart(object):
def __init__(self, title, width, height):
self.title = title
- self.chart_div = filter(str.isalnum, title)
+ self.chart_div = ''.join(t for t in title if t.isalnum())
self.width = width
self.height = height
self.columns = []