summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-02 13:55:08 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-10 15:47:11 +0000
commitd3e0c448eadf252c1b4e155291a24a12b2912656 (patch)
treedbb1ea590484558c11a56497b88ea34f8e38a14a /bitbake/lib/bb
parente0eb2ea48864b7b91a89d1b60c4fff6dddbe15e6 (diff)
downloadpoky-d3e0c448eadf252c1b4e155291a24a12b2912656.tar.gz
bitbake: data_smart: Avoid expanding anonymous python functions
We don't expand anonymous python before execution, so nor should we do this when calculating checksums for them. (Bitbake rev: 5f10987edda35b08970a6dd6ccf9febad271ce3e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r--bitbake/lib/bb/data_smart.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/data_smart.py b/bitbake/lib/bb/data_smart.py
index 70d314d35b..8c3e9eff10 100644
--- a/bitbake/lib/bb/data_smart.py
+++ b/bitbake/lib/bb/data_smart.py
@@ -962,7 +962,7 @@ class DataSmart(MutableMapping):
962 962
963 if key == "__BBANONFUNCS": 963 if key == "__BBANONFUNCS":
964 for i in bb_list: 964 for i in bb_list:
965 value = d.getVar(i, True) or "" 965 value = d.getVar(i, False) or ""
966 data.update({i:value}) 966 data.update({i:value})
967 967
968 data_str = str([(k, data[k]) for k in sorted(data.keys())]) 968 data_str = str([(k, data[k]) for k in sorted(data.keys())])