diff options
author | Ross Burton <ross.burton@intel.com> | 2019-08-06 11:16:32 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-08-06 11:23:36 +0100 |
commit | b7a34d2b8d684e5b98f5c286de67dc1b5d8df853 (patch) | |
tree | 5d5bb2bc38d37eaa683d118be42e2a7490449ce3 | |
parent | efe87ce4b2154c6f1c591ed9d8f770c229b044ad (diff) | |
download | openembedded-core-contrib-b7a34d2b8d684e5b98f5c286de67dc1b5d8df853.tar.gz |
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 <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/sanity.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
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) |