From 942836cc1c56688a69a0c9ef1b653e55fc6b598d Mon Sep 17 00:00:00 2001 From: Adam Waldenberg Date: Thu, 4 Jul 2013 10:07:41 +0200 Subject: [PATCH] There was a mixup in the metrics module (wrong ordering of return values). --- gitinspector/metrics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitinspector/metrics.py b/gitinspector/metrics.py index 0343111..40246a9 100644 --- a/gitinspector/metrics.py +++ b/gitinspector/metrics.py @@ -57,7 +57,7 @@ class MetricsLogic: for j in file_r.readlines(): j = j.decode("utf-8", "replace") - (is_inside_comment, _) = comment.handle_comment_block(is_inside_comment, extension, j) + (_, is_inside_comment) = comment.handle_comment_block(is_inside_comment, extension, j) if not is_inside_comment and not comment.is_comment(extension, j): eloc_counter += 1