summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/data_smart.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-03 10:41:41 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-05 10:36:53 -0800
commitff73b02a7203623e5edfaaa10df17eaa63cf4ed3 (patch)
treed32fbf33c74a0a9c60f3676d1aa46bb6812fa757 /bitbake/lib/bb/data_smart.py
parent082cc604f5eb1a7f6d3c4dda01154cfa93b0d660 (diff)
downloadpoky-ff73b02a7203623e5edfaaa10df17eaa63cf4ed3.tar.gz
meta/classes: Convert to use appendVar and appendVarFlags
(From OE-Core rev: 3b57de68e70e77dbc03c0616a83a29a2e99e40b4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 7765f81b52..2c200db32b 100644
--- a/bitbake/lib/bb/data_smart.py
+++ b/bitbake/lib/bb/data_smart.py
@@ -58,7 +58,7 @@ class VariableParse:
58 if self.varname and key: 58 if self.varname and key:
59 if self.varname == key: 59 if self.varname == key:
60 raise Exception("variable %s references itself!" % self.varname) 60 raise Exception("variable %s references itself!" % self.varname)
61 var = self.d.getVar(key, 1) 61 var = self.d.getVar(key, True)
62 if var is not None: 62 if var is not None:
63 self.references.add(key) 63 self.references.add(key)
64 return var 64 return var