1
0
mirror of https://git.yoctoproject.org/poky synced 2026-07-16 15:57:04 +00:00

lib: oe: license: Add missing import

The code in this file uses oe.qa, but it was not imported resulting an
an exception when a license error was detected

(From OE-Core rev: f8aa42faa3640d0414745ae32b00a37b2f5d638b)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e44cb7c5b7281d614ed51fdec06dad0a7211528a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
Joshua Watt
2025-11-07 14:14:40 +01:00
committed by Steve Sakoman
parent 8f0eab43ed
commit b5184d1487
+1
View File
@@ -7,6 +7,7 @@
import ast
import re
import oe.qa
from fnmatch import fnmatchcase as fnmatch
def license_ok(license, dont_want_licenses):