You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@climate.apache.org by jo...@apache.org on 2015/02/25 21:10:18 UTC

climate git commit: Drop dead code from config evaluation helper function

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 <jo...@apache.org>
Authored: Wed Feb 25 12:10:07 2015 -0800
Committer: Michael Joyce <jo...@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__()]