Skip to content

Commit

Permalink
Add newline to the output.
Browse files Browse the repository at this point in the history
The last line of output from tidy did not end with a newline if some
errors were reported.
  • Loading branch information
zwn committed Apr 22, 2016
1 parent 6f801e3 commit 01b111c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/tidy/servo_tidy/tidy.py
Expand Up @@ -647,6 +647,7 @@ def scan(faster=False, progress=True):
error = None
for error in errors:
print "\r\033[94m{}\033[0m:\033[93m{}\033[0m: \033[91m{}\033[0m".format(*error)
print
if error is None:
print "\n\033[92mtidy reported no errors.\033[0m"
print "\033[92mtidy reported no errors.\033[0m"
return int(error is not None)

0 comments on commit 01b111c

Please sign in to comment.