diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2016-05-30 12:20:28 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-01 12:38:43 +0100 |
commit | 37688b329efa5f0c2adb678868edc75ab434971c (patch) | |
tree | 392e6dd7cc3e524a9d5a2d02bd0c4166995df75d /meta/classes/insane.bbclass | |
parent | 51c670478919d72b7f43d1074a95e537f1fd493b (diff) | |
download | poky-37688b329efa5f0c2adb678868edc75ab434971c.tar.gz |
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>
Diffstat (limited to 'meta/classes/insane.bbclass')
-rw-r--r-- | meta/classes/insane.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index 116abc428b..71999ada34 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass | |||
@@ -178,7 +178,7 @@ def package_qa_write_error(type, error, d): | |||
178 | if logfile: | 178 | if logfile: |
179 | p = d.getVar('P', True) | 179 | p = d.getVar('P', True) |
180 | with open(logfile, "a+") as f: | 180 | with open(logfile, "a+") as f: |
181 | f.write("%s: %s [%s]" % (p, error, type)) | 181 | f.write("%s: %s [%s]\n" % (p, error, type)) |
182 | 182 | ||
183 | def package_qa_handle_error(error_class, error_msg, d): | 183 | def package_qa_handle_error(error_class, error_msg, d): |
184 | package_qa_write_error(error_class, error_msg, d) | 184 | package_qa_write_error(error_class, error_msg, d) |