diff options
author | Chris Larson <chris_larson@mentor.com> | 2010-12-22 11:00:22 -0700 |
---|---|---|
committer | Chris Larson <chris_larson@mentor.com> | 2010-12-22 12:07:43 -0700 |
commit | a4230811ffbfa853a86eb06cba8e16e1cc24bcb2 (patch) | |
tree | 43e7670655de8717772abaed4443a8c500e55727 /lib/bb/data_smart.py | |
parent | 5cde120003af97a5cf5c6eff2a02bb1480f9414b (diff) | |
download | bitbake-a4230811ffbfa853a86eb06cba8e16e1cc24bcb2.tar.gz |
data_smart: handle None values in expandVarrefs
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'lib/bb/data_smart.py')
-rw-r--r-- | lib/bb/data_smart.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/data_smart.py b/lib/bb/data_smart.py index 4a12dd41e..92ef51709 100644 --- a/lib/bb/data_smart.py +++ b/lib/bb/data_smart.py @@ -348,7 +348,7 @@ class DataSmart(MutableMapping): value = self.getVar(variable, False) for key in keys: referrervalue = self.getVar(key, False) - if ref in referrervalue: + if referrervalue and ref in referrervalue: self.setVar(key, referrervalue.replace(ref, value)) def localkeys(self): |