summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-11-05 09:16:16 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-11-08 23:40:59 +0000
commit907ca04187b15401dcc9e9f4a7a31e9491658563 (patch)
tree0cb6e07a8cfc08a983c36f30e6fdcb12b64fb3f4 /bitbake
parente0218edf840bafa187fab1edb475e28bc2fa618c (diff)
downloadpoky-907ca04187b15401dcc9e9f4a7a31e9491658563.tar.gz
bitbake: Revert "parse/ast: Show errors for append/prepend/remove operators combined with +=/.="
This reverts commit ae2b34285f8b3a1a3067c5e9b5d29e32e68c75f1. Accidentally applied to the wrong branch. (Bitbake rev: 1ac73638c1504cf2aa7f13257396aad617f25e8f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/parse/ast.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/bitbake/lib/bb/parse/ast.py b/bitbake/lib/bb/parse/ast.py
index 93cbf285ef..743ea0dfc0 100644
--- a/bitbake/lib/bb/parse/ast.py
+++ b/bitbake/lib/bb/parse/ast.py
@@ -130,10 +130,6 @@ class DataNode(AstNode):
130 else: 130 else:
131 val = groupd["value"] 131 val = groupd["value"]
132 132
133 if ":append" in key or ":remove" in key or ":prepend" in key:
134 if op in ["append", "prepend", "postdot", "predot"]:
135 bb.warn(key + " " + groupd[op] + " is not a recommended operator combination, please replace it.")
136
137 flag = None 133 flag = None
138 if 'flag' in groupd and groupd['flag'] is not None: 134 if 'flag' in groupd and groupd['flag'] is not None:
139 flag = groupd['flag'] 135 flag = groupd['flag']