]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
More 'is' fixups
authorChris Larson <chris_larson@mentor.com>
Wed, 16 Mar 2011 15:07:37 +0000 (08:07 -0700)
committerChris Larson <chris_larson@mentor.com>
Wed, 16 Mar 2011 15:31:46 +0000 (08:31 -0700)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
lib/bb/data_smart.py

index df9798ad58acb8adaba5bc85ef594370ec5d9b39..67866d5bd8ceb87bf0331d0cb25e9e35cb849927 100644 (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)