]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
lib: oe: license: Add missing import
authorJoshua Watt <JPEWhacker@gmail.com>
Fri, 7 Nov 2025 13:14:40 +0000 (14:14 +0100)
committerSteve Sakoman <steve@sakoman.com>
Mon, 10 Nov 2025 15:03:45 +0000 (07:03 -0800)
The code in this file uses oe.qa, but it was not imported resulting an
an exception when a license error was detected

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e44cb7c5b7281d614ed51fdec06dad0a7211528a)

meta/lib/oe/license.py

index c1ae103b54b06f69263a6bff718566b6444650a4..6ff7688d2294ef79669d3fa033cdf06774435719 100644 (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):