sanity: update for new bb.build.exec_func() behaviour

Message ID 20190806101720.2721-1-ross.burton@intel.com
State Accepted
Commit b7a34d2b8d684e5b98f5c286de67dc1b5d8df853
Headers show
Series
  • sanity: update for new bb.build.exec_func() behaviour
Related show

Commit Message

Ross Burton Aug. 6, 2019, 10:17 a.m.
The pythonexception argument is no more, and passing True is the new behavior.

[ YOCTO #13468 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>

---
 meta/classes/sanity.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.20.1

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Patch

diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 9429202dcad..2d3f49eb1a7 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -573,7 +573,7 @@  def sanity_check_conffiles(d):
         if check_conf_exists(conffile, d) and d.getVar(current_version) is not None and \
                 d.getVar(current_version) != d.getVar(required_version):
             try:
-                bb.build.exec_func(func, d, pythonexception=True)
+                bb.build.exec_func(func, d)
             except NotImplementedError as e:
                 bb.fatal(str(e))
             d.setVar("BB_INVALIDCONF", True)