diff options
author | Zbynek Winkler <zbynek.winkler@gmail.com> | 2016-04-20 16:40:57 +0200 |
---|---|---|
committer | Zbynek Winkler <zbynek.winkler@gmail.com> | 2016-04-22 14:28:17 +0200 |
commit | 01b111c43e88c94f5fec3bdb566c0ad1e6d409c7 (patch) | |
tree | 0bdf8916f4c5bad57b2814e3b1b74369f108192d /python/tidy/servo_tidy/tidy.py | |
parent | 6f801e3f3f806f55fd955a469ed175915f24d6cb (diff) | |
download | servo-01b111c43e88c94f5fec3bdb566c0ad1e6d409c7.tar.gz servo-01b111c43e88c94f5fec3bdb566c0ad1e6d409c7.zip |
Add newline to the output.
The last line of output from tidy did not end with a newline if some
errors were reported.
Diffstat (limited to 'python/tidy/servo_tidy/tidy.py')
-rw-r--r-- | python/tidy/servo_tidy/tidy.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/tidy/servo_tidy/tidy.py b/python/tidy/servo_tidy/tidy.py index 0baa11dfe90..9ee99edcf9d 100644 --- a/python/tidy/servo_tidy/tidy.py +++ b/python/tidy/servo_tidy/tidy.py @@ -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) |