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 | ast2050-yocto-poky-31521d748460b7e9135b745574c55d33d8f0e7f3.zip ast2050-yocto-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 df9798a..67866d5 100644 --- a/bitbake/lib/bb/data_smart.py +++ b/bitbake/lib/bb/data_smart.py @@ -191,11 +191,11 @@ class DataSmart(MutableMapping): keep.append((a ,o)) continue - if op is "_append": + if op == "_append": sval = self.getVar(append, False) or "" sval += a self.setVar(append, sval) - elif op is "_prepend": + elif op == "_prepend": sval = a + (self.getVar(append, False) or "") self.setVar(append, sval) |