* [PATCH] spdx_license: fix NameError in parse_match()
@ 2026-10-30 0:01 Prasanth R
0 siblings, 0 replies; only message in thread
From: Prasanth R @ 2026-10-30 0:01 UTC (permalink / raw)
To: openembedded-core; +Cc: JPEWhacker, Prasanth R
parse_match() calls tokenizer(), which does not exist, so every call
fails with:
NameError: name 'tokenizer' is not defined. Did you mean: 'tokenize'?
Signed-off-by: Prasanth R <prasanth.r@lineo.co.jp>
---
meta/lib/oe/spdx_license.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/lib/oe/spdx_license.py b/meta/lib/oe/spdx_license.py
index 7369eca9ef..278710c60b 100644
--- a/meta/lib/oe/spdx_license.py
+++ b/meta/lib/oe/spdx_license.py
@@ -765,7 +765,7 @@ def parse(s, *, allow_unknown=False):
def parse_match(s):
try:
- tokens = tokenizer(s)
+ tokens = tokenize(s)
return create_ast(tokens)
except ParseError as e:
e.expression = s
--
2.34.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-30 0:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-30 0:01 [PATCH] spdx_license: fix NameError in parse_match() Prasanth R
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.