From 5f10987edda35b08970a6dd6ccf9febad271ce3e Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 2 Feb 2016 13:55:08 +0000 Subject: 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. Signed-off-by: Richard Purdie --- lib/bb/data_smart.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bb/data_smart.py b/lib/bb/data_smart.py index 70d314d35..8c3e9eff1 100644 --- a/lib/bb/data_smart.py +++ b/lib/bb/data_smart.py @@ -962,7 +962,7 @@ class DataSmart(MutableMapping): if key == "__BBANONFUNCS": for i in bb_list: - value = d.getVar(i, True) or "" + value = d.getVar(i, False) or "" data.update({i:value}) data_str = str([(k, data[k]) for k in sorted(data.keys())]) -- cgit 1.2.3-korg