[oe-commits] [openembedded-core] 02/05: report-error: Fix tracebacks

git at git.openembedded.org git at git.openembedded.org
Tue Aug 16 17:09:29 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 5f8af86b688ff9ebb6c2f6af4b9ae7acb9d03846
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Mon Aug 15 18:05:24 2016 +0100

    report-error: Fix tracebacks
    
    Currently the code gives tracebacks if there are no recipes to be built in a
    BuildStarted event. Parse the list into a string rather than just taking the
    first item. There is nothing special about the first time.
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/report-error.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/report-error.bbclass b/meta/classes/report-error.bbclass
index c8c15bd..5bb231e 100644
--- a/meta/classes/report-error.bbclass
+++ b/meta/classes/report-error.bbclass
@@ -42,7 +42,7 @@ python errorreport_handler () {
             data['distro'] = e.data.getVar("DISTRO", True)
             data['target_sys'] = e.data.getVar("TARGET_SYS", True)
             data['failures'] = []
-            data['component'] = e.getPkgs()[0]
+            data['component'] = " ".join(e.getPkgs())
             data['branch_commit'] = str(base_detect_branch(e.data)) + ": " + str(base_detect_revision(e.data))
             lock = bb.utils.lockfile(datafile + '.lock')
             errorreport_savedata(e, data, "error-report.txt")

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list