Skip to contentSkip to conversation

data_smart: Avoid expanding anonymous python functions

PATCH New Richard Purdie 1 participant 1 message Feb 2, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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/lib/bb/data_smart.py +1 -1
index 66cb845..78033d7 100644
@@ -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())])