scripts: filter-known-issues: Add extra newline

For better readability, add an extra newline when printing the result of
filtering a log.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
This commit is contained in:
Carles Cufi 2018-07-12 17:37:18 +02:00 committed by Anas Nashif
commit 9c2f681bc0

View file

@ -236,11 +236,11 @@ if warnings or errors:
errors.flush()
if ((os.path.isfile(args.warnings) and os.path.getsize(args.warnings) > 0) or
(os.path.isfile(args.errors) and os.path.getsize(args.errors) > 0)):
print("\nNew errors/warnings found, please fix them:\n")
print("\n\nNew errors/warnings found, please fix them:\n")
if args.warnings:
print(open(args.warnings, "r").read())
if args.errors and (args.errors != args.warnings):
print(open(args.errors, "r").read())
else:
print("\nNo new errors/warnings.\n")
print("\n\nNo new errors/warnings.\n")