diff options
-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 df9798ad58..67866d5bd8 100644 --- a/bitbake/lib/bb/data_smart.py +++ b/bitbake/lib/bb/data_smart.py | |||
@@ -191,11 +191,11 @@ class DataSmart(MutableMapping): | |||
191 | keep.append((a ,o)) | 191 | keep.append((a ,o)) |
192 | continue | 192 | continue |
193 | 193 | ||
194 | if op is "_append": | 194 | if op == "_append": |
195 | sval = self.getVar(append, False) or "" | 195 | sval = self.getVar(append, False) or "" |
196 | sval += a | 196 | sval += a |
197 | self.setVar(append, sval) | 197 | self.setVar(append, sval) |
198 | elif op is "_prepend": | 198 | elif op == "_prepend": |
199 | sval = a + (self.getVar(append, False) or "") | 199 | sval = a + (self.getVar(append, False) or "") |
200 | self.setVar(append, sval) | 200 | self.setVar(append, sval) |
201 | 201 | ||