diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-11-05 09:16:16 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-11-05 09:16:41 +0000 |
commit | 1ac73638c1504cf2aa7f13257396aad617f25e8f (patch) | |
tree | 9210199dfc3b8b7c7c139a3938d69a05bc4ab32d | |
parent | ae2b34285f8b3a1a3067c5e9b5d29e32e68c75f1 (diff) | |
download | bitbake-1ac73638c1504cf2aa7f13257396aad617f25e8f.tar.gz |
Revert "parse/ast: Show errors for append/prepend/remove operators combined with +=/.="
This reverts commit ae2b34285f8b3a1a3067c5e9b5d29e32e68c75f1.
Accidentally applied to the wrong branch.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | lib/bb/parse/ast.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/bb/parse/ast.py b/lib/bb/parse/ast.py index 93cbf285e..743ea0dfc 100644 --- a/lib/bb/parse/ast.py +++ b/lib/bb/parse/ast.py @@ -130,10 +130,6 @@ class DataNode(AstNode): else: val = groupd["value"] - if ":append" in key or ":remove" in key or ":prepend" in key: - if op in ["append", "prepend", "postdot", "predot"]: - bb.warn(key + " " + groupd[op] + " is not a recommended operator combination, please replace it.") - flag = None if 'flag' in groupd and groupd['flag'] is not None: flag = groupd['flag'] |