Avoid TypeError when the unimplemented-ptest check encounters a FileNotFoundError.
Signed-off-by: Maxin John <[email protected]> --- meta/classes-global/insane.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes-global/insane.bbclass b/meta/classes-global/insane.bbclass index a4d17ccd2a..721088a8f5 100644 --- a/meta/classes-global/insane.bbclass +++ b/meta/classes-global/insane.bbclass @@ -1301,7 +1301,7 @@ python do_qa_patch() { except FileNotFoundError: # pathlib.Path.glob() might throw this when file/directory # disappear while scanning. - bb.note("unimplemented-ptest: FileNotFoundError exception while scanning (disappearing file while scanning?). Check was ignored." % d.getVar('PN')) + bb.note("Recipe %s QA: unimplemented-ptest: FileNotFoundError exception while scanning (disappearing file while scanning?). Check was ignored." % d.getVar('PN')) pass return False -- 2.39.2
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#248714): https://lists.openembedded.org/g/openembedded-core/message/248714 Mute This Topic: https://lists.openembedded.org/mt/121956375/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
