[rhmessaging-commits] rhmessaging commits: r3113 - mgmt/trunk/cumin/python/cumin.

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Tue Feb 10 07:35:49 EST 2009


Author: justi9
Date: 2009-02-10 07:35:49 -0500 (Tue, 10 Feb 2009)
New Revision: 3113

Modified:
   mgmt/trunk/cumin/python/cumin/charts.py
Log:
Revert an unintentional change

Modified: mgmt/trunk/cumin/python/cumin/charts.py
===================================================================
--- mgmt/trunk/cumin/python/cumin/charts.py	2009-02-10 12:29:37 UTC (rev 3112)
+++ mgmt/trunk/cumin/python/cumin/charts.py	2009-02-10 12:35:49 UTC (rev 3113)
@@ -26,7 +26,6 @@
         cr.set_source_rgba(color[0], color[1], color[2], 0.66)
 
         tnow = time()
-        value = None
 
         for dt, value in samples:
             if value is None:
@@ -34,8 +33,6 @@
 
             t = secs(dt)
 
-            print "--", t
-
             # prevent line from drawing off right side of grid
             if tnow - t < 0:
                 t = tnow
@@ -44,9 +41,6 @@
             y = self.height - (value / float(self.y_max)) * self.height
             cr.line_to(x, y)
 
-        if value:
-            cr.line_to(self.width, value)
-
         cr.stroke()
 
     def plot_legend(self, titles, colors):




More information about the rhmessaging-commits mailing list