Collision of method and field names.
authorStanislaw Klekot <dozzie@jarowit.net>
Sun, 27 Oct 2013 07:48:46 +0000 (08:48 +0100)
committerStanislaw Klekot <dozzie@jarowit.net>
Sun, 27 Oct 2013 07:48:46 +0000 (08:48 +0100)
pylib/rrdplot/plot.py

index 1c9e288..8f862d7 100644 (file)
@@ -289,7 +289,7 @@ class RRDPlot:
   def ds_description(self, ds, description):
     self.datasources[s]['description'] = description
 
-  def cons_function(self, function):
+  def consolidation_function(self, function):
     function = function.lower()
     if function not in ["average", "max", "min", "last"]:
       raise ValueError('invalid consolidation function: %s' % (function))