data: Fix accidentally added parameter

Message ID 20220404095950.1723753-1-richard.purdie@linuxfoundation.org
State Accepted, archived
Commit 7399be398df39bc29e1b5eaac23b29cfae017abd
Headers show
Series data: Fix accidentally added parameter | expand

Commit Message

Richard Purdie April 4, 2022, 9:59 a.m. UTC
This was only meant to be added for the handle_contains function in
a previous commit, fix it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 lib/bb/data.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/lib/bb/data.py b/lib/bb/data.py
index 363901b5d3..62ec214762 100644
--- a/lib/bb/data.py
+++ b/lib/bb/data.py
@@ -329,7 +329,7 @@  def build_dependencies(key, keys, shelldeps, varflagsexcl, ignored_vars, d):
                 deps = deps | (keys & parser.execs) | (keys & parsedvar.execs)
                 value = handle_contains(value, parsedvar.contains, exclusions, d)
                 if hasattr(parsedvar, "removes"):
-                    value = handle_remove(value, deps, parsedvar.removes, varflags, d)
+                    value = handle_remove(value, deps, parsedvar.removes, d)
             if vardeps is None:
                 parser.log.flush()
             if "prefuncs" in varflags: