summaryrefslogtreecommitdiffstats
path: root/lib/bb/data_smart.py
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2013-08-27 16:27:41 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-08-28 00:34:03 +0100
commit04127dec207d6dfc0ada56c5cc67ec9ad30517a8 (patch)
tree52e825832d45d4e904854c093cd2beea0170350e /lib/bb/data_smart.py
parent1aa49226d5a2bac911feeb90e3d9f19529bc1a3e (diff)
downloadbitbake-contrib-04127dec207d6dfc0ada56c5cc67ec9ad30517a8.tar.gz
data_smart: allow removal of multiple words at once with _remove
FOO = "foo bar baz" FOO_remove = "foo baz" Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/data_smart.py')
-rw-r--r--lib/bb/data_smart.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/data_smart.py b/lib/bb/data_smart.py
index 6229fbf69..d32501821 100644
--- a/lib/bb/data_smart.py
+++ b/lib/bb/data_smart.py
@@ -418,7 +418,7 @@ class DataSmart(MutableMapping):
self.setVar(append, sval)
elif op == "_remove":
removes = self.getVarFlag(append, "_removeactive", False) or []
- removes.append(a)
+ removes.extend(a.split())
self.setVarFlag(append, "_removeactive", removes, ignore=True)
# We save overrides that may be applied at some later stage