climate-commits mailing list archives

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

URL: http://svn.apache.org/r1506165
Log:
CLIMATE-214 - Fix issue with appending single dataset to target_datasets list

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=1506165&r1=1506164&r2=1506165&view=diff
==============================================================================
--- incubator/climate/branches/RefactorInput/ocw/evaluation.py (original)
+++ incubator/climate/branches/RefactorInput/ocw/evaluation.py Tue Jul 23 17:15:32 2013
@@ -62,7 +62,7 @@ class Evaluation:
         :param target_dataset: The target Dataset to add to the Evaluation.
         :type target_dataset: Dataset
         '''
-        self.target_datasets += target_dataset
+        self.target_datasets.append(target_dataset)
 
     def add_datasets(self, target_datasets):
         '''Add multiple Datasets to the Evaluation.



Mime
View raw message