diff options
author | Chris Larson <chris_larson@mentor.com> | 2011-03-16 08:07:37 -0700 |
---|---|---|
committer | Chris Larson <chris_larson@mentor.com> | 2011-03-16 08:31:46 -0700 |
commit | 967cd1aa2c59f15d805862bd9935f507c635c762 (patch) | |
tree | 3211a8b3a414403d57641eb52dc4165e5a139be6 | |
parent | a26a2f548419af0e971ad21ec0a29e5245fe307f (diff) | |
download | bitbake-967cd1aa2c59f15d805862bd9935f507c635c762.tar.gz |
More 'is' fixups
Signed-off-by: Chris Larson <chris_larson@mentor.com>
-rw-r--r-- | lib/bb/data_smart.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bb/data_smart.py b/lib/bb/data_smart.py index df9798ad5..67866d5bd 100644 --- a/lib/bb/data_smart.py +++ b/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) |