Author: croberts
Date: 2012-12-19 16:52:29 +0000 (Wed, 19 Dec 2012)
New Revision: 5620
Modified:
trunk/cumin/python/cumin/stat.py
Log:
BZ 880675: Changing self.colors to be a list[] rather than a tuple(). tuple won't
work on python 2.4.
Modified: trunk/cumin/python/cumin/stat.py
===================================================================
--- trunk/cumin/python/cumin/stat.py 2012-12-19 14:29:54 UTC (rev 5619)
+++ trunk/cumin/python/cumin/stat.py 2012-12-19 16:52:29 UTC (rev 5620)
@@ -808,11 +808,11 @@
return chart.create()
class FlashLineChart(Widget):
- colors =
('#009926','#992600','#0036d6','#ffc414','730099','#ff00cc')
one_day = 24 * 60 * 60
def __init__(self, app, name, page):
super(FlashLineChart, self).__init__(app, name)
self.page = page
+ self.colors =
['#009926','#992600','#0036d6','#ffc414','730099','#ff00cc']
def pos_to_seconds(self, pos):
""" convert the flash chart slider position into a number of
seconds ago """
Show replies by date