From: Ross Burton Date: Tue, 6 Aug 2019 10:16:32 +0000 (+0100) Subject: sanity: update for new bb.build.exec_func() behaviour X-Git-Tag: uninative-2.7~584 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=b7a34d2b8d684e5b98f5c286de67dc1b5d8df853;p=openembedded-core.git sanity: update for new bb.build.exec_func() behaviour The pythonexception argument is no more, and passing True is the new behavior. [ YOCTO #13468 ] Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index 9429202dca..2d3f49eb1a 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)