Author: croberts
Date: 2011-07-22 12:44:12 +0000 (Fri, 22 Jul 2011)
New Revision: 4882
Modified:
trunk/cumin/python/cumin/stat.py
Log:
Correcting the PercentAreaChart (for free memory). The get_max_min method was using the
wrong signature. This addresses BZ:
https://bugzilla.redhat.com/show_bug.cgi?id=724946
Modified: trunk/cumin/python/cumin/stat.py
===================================================================
--- trunk/cumin/python/cumin/stat.py 2011-07-21 21:10:03 UTC (rev 4881)
+++ trunk/cumin/python/cumin/stat.py 2011-07-22 12:44:12 UTC (rev 4882)
@@ -1321,8 +1321,8 @@
return chart_obj
class PercentAreaChart(AreaChart):
- def get_max_min(self, session, stats, samples):
- max_val, min_val = super(PercentAreaChart, self).get_max_min(session, stats,
samples)
+ def get_max_min(self, session, stats, samples, time_span, end_seconds_ago):
+ max_val, min_val = super(PercentAreaChart, self).get_max_min(session, stats,
samples, time_span, end_seconds_ago)
percent = self.page.percent_property.get(session)
total = self.page.get_object_property(session, percent)