summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/data_smart.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/data_smart.py')
-rw-r--r--bitbake/lib/bb/data_smart.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/data_smart.py b/bitbake/lib/bb/data_smart.py
index 054b5cbebf..79bf331082 100644
--- a/bitbake/lib/bb/data_smart.py
+++ b/bitbake/lib/bb/data_smart.py
@@ -100,8 +100,8 @@ class VariableParse:
100 self.execs |= varparse.execs 100 self.execs |= varparse.execs
101 return varparse.value 101 return varparse.value
102 var = self.d.getVar(key, True) 102 var = self.d.getVar(key, True)
103 self.references.add(key)
103 if var is not None: 104 if var is not None:
104 self.references.add(key)
105 return var 105 return var
106 else: 106 else:
107 return match.group() 107 return match.group()