Skip to content

Commit

Permalink
Fix duplicated output
Browse files Browse the repository at this point in the history
  • Loading branch information
XenHat authored Oct 21, 2017
1 parent d8e25d1 commit 9802e10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linter.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ def run(self, cmd, code):
offset = getLastOffset(preproc_bank, new_number)[0]
tokminoff = str(new_number - int(offset))
token_match = match.group(1)
new_line += '\n{0}:: ({1:>3}, 1): in file {2}: {3}'.format(token_match, tokminoff, result[1], new_line)
new_line = '{0}:: ({1:>3}, 1): in file {2}: {3}'.format(token_match, tokminoff, result[1], new_line)
# print("New Line: {0}".format(new_line))
fixed_output_lines.append(new_line)
continue
Expand Down

0 comments on commit 9802e10

Please sign in to comment.