climate-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject svn commit: r1506179 - /incubator/climate/branches/RefactorInput/ocw/evaluation.py
Date Tue, 23 Jul 2013 17:42:24 GMT
Author: joyce
Date: Tue Jul 23 17:42:24 2013
New Revision: 1506179

URL: http://svn.apache.org/r1506179
Log:
CLIMATE-214 - Fix append issue in add_metric

Modified:
    incubator/climate/branches/RefactorInput/ocw/evaluation.py

Modified: incubator/climate/branches/RefactorInput/ocw/evaluation.py
URL: http://svn.apache.org/viewvc/incubator/climate/branches/RefactorInput/ocw/evaluation.py?rev=1506179&r1=1506178&r2=1506179&view=diff
==============================================================================
--- incubator/climate/branches/RefactorInput/ocw/evaluation.py (original)
+++ incubator/climate/branches/RefactorInput/ocw/evaluation.py Tue Jul 23 17:42:24 2013
@@ -85,7 +85,7 @@ class Evaluation:
         :param metric: The metric function to add to the Evaluation.
         :type metric: function
         '''
-        self.metrics += metric
+        self.metrics.append(metric)
 
     def add_metrics(self, metrics):
         '''Add mutliple metrics to the Evaluation.



Mime
View raw message