summaryrefslogtreecommitdiff
path: root/meta/classes/sanity.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/sanity.bbclass')
-rw-r--r--meta/classes/sanity.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index a400bcadd0..662f764533 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -563,10 +563,10 @@ def sanity_check_conffiles(status, d):
d.getVar(current_version, True) != d.getVar(required_version, True):
success = True
try:
- bb.build.exec_func(func, d)
+ bb.build.exec_func(func, d, pythonexception=True)
except NotImplementedError as e:
success = False
- status.addresult(e.msg)
+ status.addresult(str(e))
if success:
status.reparse = True