diff mbox series

[scarthgap] insane: fix unimplemented-ptest error handling

Message ID 20261127095135.420733-1-kmeinecke@triplebit-solutions.de
State New
Headers show
Series [scarthgap] insane: fix unimplemented-ptest error handling | expand

Commit Message

Karsten Meinecke Nov. 27, 2026, 9:51 a.m. UTC
From: Maxin John <maxin.john@gehealthcare.com>

Avoid TypeError when the unimplemented-ptest check encounters
a FileNotFoundError.

Signed-off-by: Maxin John <maxin.john@gehealthcare.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b62d5e681741394ad90501a83a1c66b0e3ab7ce3)
Signed-off-by: Karsten Meinecke <kmeinecke@triplebit-solutions.de>
---
 meta/classes-global/insane.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta/classes-global/insane.bbclass b/meta/classes-global/insane.bbclass
index 9004a9dce2..7631d3c730 100644
--- a/meta/classes-global/insane.bbclass
+++ b/meta/classes-global/insane.bbclass
@@ -1357,7 +1357,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