There was a mixup in the metrics module (wrong ordering of return values).

This commit is contained in:
Adam Waldenberg 2013-07-04 10:07:41 +02:00
parent bb72cc8f02
commit 942836cc1c

View file

@ -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