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:
parent
67fac77e10
commit
31521d7484
|
@ -191,11 +191,11 @@ class DataSmart(MutableMapping):
|
||||||
keep.append((a ,o))
|
keep.append((a ,o))
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if op is "_append":
|
if op == "_append":
|
||||||
sval = self.getVar(append, False) or ""
|
sval = self.getVar(append, False) or ""
|
||||||
sval += a
|
sval += a
|
||||||
self.setVar(append, sval)
|
self.setVar(append, sval)
|
||||||
elif op is "_prepend":
|
elif op == "_prepend":
|
||||||
sval = a + (self.getVar(append, False) or "")
|
sval = a + (self.getVar(append, False) or "")
|
||||||
self.setVar(append, sval)
|
self.setVar(append, sval)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue