diff options
-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) |