Skip to content

Commit

Permalink
Correct parsing of file names from cloc output
Browse files Browse the repository at this point in the history
  • Loading branch information
adamtornhill committed Jan 8, 2018
1 parent 6760198 commit 50348f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transform/csv_as_enclosure_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def pathParts(self):
(hd, tl) = os.path.split(hd)

def parse_structural_element(csv_row):
name = csv_row[1][2:]
name = csv_row[1]
complexity = csv_row[4]
return StructuralElement(name, complexity)

Expand Down

0 comments on commit 50348f7

Please sign in to comment.