Skip to content

Commit

Permalink
style: killed dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
isc-cge committed Aug 16, 2024
1 parent e1dfcf4 commit 799f3de
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions cls/TestCoverage/Utils.cls
Original file line number Diff line number Diff line change
Expand Up @@ -487,11 +487,6 @@ ClassMethod GetPythonMethodMapping(pDocumentText) [ Language = python ]
@staticmethod
def get_end_line(node):
return max(child.lineno for child in ast.walk(node) if hasattr(child, 'lineno'))
#; # preprocessing the ending line number for each function
#; tree_with_line_numbers = ast.increment_lineno(tree, n=1)
#; for node in ast.walk(tree_with_line_numbers):
#; if isinstance(node, ast.FunctionDef):
#; node.end_lineno = node.body[-1].end_lineno

FunctionMapper().visit(tree)
print(source_lines)
Expand Down

0 comments on commit 799f3de

Please sign in to comment.