1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 05:09:24 +00:00

More 'is' fixups

(Bitbake rev: 967cd1aa2c59f15d805862bd9935f507c635c762)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Chris Larson
2011-03-16 08:07:37 -07:00
committed by Richard Purdie
parent 67fac77e10
commit 31521d7484
+2 -2
View File
@@ -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)