]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
data_smart: Avoid expanding anonymous python functions
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 2 Feb 2016 13:55:08 +0000 (13:55 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 10 Feb 2016 13:33:48 +0000 (13:33 +0000)
We don't expand anonymous python before execution, so nor should
we do this when calculating checksums for them.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/bb/data_smart.py

index 70d314d35b5b7f4c9b2d1770b7c7693d2d4b2344..8c3e9eff101ac501ca9be03c5584fda517af7aaa 100644 (file)
@@ -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())])