summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2011-03-16 08:07:37 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-03-31 12:23:24 +0100
commit31521d748460b7e9135b745574c55d33d8f0e7f3 (patch)
treebc9d6e2cebaf000edbe862d02ca4f562b35e33bd /bitbake
parent67fac77e10269099796a6bd03ddaf1580949a4b8 (diff)
downloadpoky-31521d748460b7e9135b745574c55d33d8f0e7f3.tar.gz
More 'is' fixups
(Bitbake rev: 967cd1aa2c59f15d805862bd9935f507c635c762) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/data_smart.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/data_smart.py b/bitbake/lib/bb/data_smart.py
index df9798ad58..67866d5bd8 100644
--- a/bitbake/lib/bb/data_smart.py
+++ b/bitbake/lib/bb/data_smart.py
@@ -191,11 +191,11 @@ class DataSmart(MutableMapping):
191 keep.append((a ,o)) 191 keep.append((a ,o))
192 continue 192 continue
193 193
194 if op is "_append": 194 if op == "_append":
195 sval = self.getVar(append, False) or "" 195 sval = self.getVar(append, False) or ""
196 sval += a 196 sval += a
197 self.setVar(append, sval) 197 self.setVar(append, sval)
198 elif op is "_prepend": 198 elif op == "_prepend":
199 sval = a + (self.getVar(append, False) or "") 199 sval = a + (self.getVar(append, False) or "")
200 self.setVar(append, sval) 200 self.setVar(append, sval)
201 201