mirror of
https://github.com/ejwa/gitinspector.git
synced 2024-12-22 13:42:14 +01:00
There was a mixup in the metrics module (wrong ordering of return values).
This commit is contained in:
parent
bb72cc8f02
commit
942836cc1c
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ class MetricsLogic:
|
||||||
|
|
||||||
for j in file_r.readlines():
|
for j in file_r.readlines():
|
||||||
j = j.decode("utf-8", "replace")
|
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):
|
if not is_inside_comment and not comment.is_comment(extension, j):
|
||||||
eloc_counter += 1
|
eloc_counter += 1
|
||||||
|
|
Loading…
Reference in a new issue