diff options
Diffstat (limited to 'bitbake/lib/bb/data_smart.py')
-rw-r--r-- | bitbake/lib/bb/data_smart.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/data_smart.py b/bitbake/lib/bb/data_smart.py index 83e6f70cd7..e76fbbf6ce 100644 --- a/bitbake/lib/bb/data_smart.py +++ b/bitbake/lib/bb/data_smart.py | |||
@@ -298,6 +298,8 @@ class DataSmart(MutableMapping): | |||
298 | if local_var: | 298 | if local_var: |
299 | if flag in local_var: | 299 | if flag in local_var: |
300 | value = copy.copy(local_var[flag]) | 300 | value = copy.copy(local_var[flag]) |
301 | elif flag == "content" and "defaultval" in local_var: | ||
302 | value = copy.copy(local_var["defaultval"]) | ||
301 | if expand and value: | 303 | if expand and value: |
302 | value = self.expand(value, None) | 304 | value = self.expand(value, None) |
303 | return value | 305 | return value |