climate-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jo...@apache.org
Subject climate git commit: Drop dead code from config evaluation helper function
Date Wed, 25 Feb 2015 20:10:18 GMT
Repository: climate
Updated Branches:
  refs/heads/master 00baa7e55 -> 58703e0cb


Drop dead code from config evaluation helper function


Project: http://git-wip-us.apache.org/repos/asf/climate/repo
Commit: http://git-wip-us.apache.org/repos/asf/climate/commit/58703e0c
Tree: http://git-wip-us.apache.org/repos/asf/climate/tree/58703e0c
Diff: http://git-wip-us.apache.org/repos/asf/climate/diff/58703e0c

Branch: refs/heads/master
Commit: 58703e0cb2fdd4318fe127ff5b85ebc241558f04
Parents: 00baa7e
Author: Michael Joyce <joyce@apache.org>
Authored: Wed Feb 25 12:10:07 2015 -0800
Committer: Michael Joyce <joyce@apache.org>
Committed: Wed Feb 25 12:10:07 2015 -0800

----------------------------------------------------------------------
 ocw-config-runner/ocw_evaluation_from_config.py | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/climate/blob/58703e0c/ocw-config-runner/ocw_evaluation_from_config.py
----------------------------------------------------------------------
diff --git a/ocw-config-runner/ocw_evaluation_from_config.py b/ocw-config-runner/ocw_evaluation_from_config.py
index 711a81c..aba6fef 100644
--- a/ocw-config-runner/ocw_evaluation_from_config.py
+++ b/ocw-config-runner/ocw_evaluation_from_config.py
@@ -214,8 +214,6 @@ def _contains_unary_metrics(config_metric_data):
     unarys = [cls.__name__ for cls in metrics.UnaryMetric.__subclasses__()]
     return any(metric in unarys for metric in config_metric_data)
 
-    return True
-
 def _contains_binary_metrics(config_metric_data):
     """"""
     binarys = [cls.__name__ for cls in metrics.BinaryMetric.__subclasses__()]


Mime
View raw message