insane: return line-feeds to qa.log

(From OE-Core rev: f97c40fd6cf0a722c5355623e0392755cb0a0107)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Martin Jansa 2016-05-30 12:20:28 +02:00 committed by Richard Purdie
parent 51c6704789
commit 37688b329e
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ def package_qa_write_error(type, error, d):
if logfile:
p = d.getVar('P', True)
with open(logfile, "a+") as f:
f.write("%s: %s [%s]" % (p, error, type))
f.write("%s: %s [%s]\n" % (p, error, type))
def package_qa_handle_error(error_class, error_msg, d):
package_qa_write_error(error_class, error_msg, d)