diff options
author | Chris Larson <chris_larson@mentor.com> | 2011-03-16 08:07:37 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-03-31 12:23:24 +0100 |
commit | 31521d748460b7e9135b745574c55d33d8f0e7f3 (patch) | |
tree | bc9d6e2cebaf000edbe862d02ca4f562b35e33bd /bitbake | |
parent | 67fac77e10269099796a6bd03ddaf1580949a4b8 (diff) | |
download | poky-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.py | 4 |
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 | ||