diff options
| author | Joshua Watt <JPEWhacker@gmail.com> | 2025-11-07 14:14:40 +0100 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2025-11-14 06:45:29 -0800 |
| commit | b5184d1487160d3d340371a5a38d1628a4a16297 (patch) | |
| tree | c980276b307339c0ec0e994851d9f596ea764f80 /meta/lib | |
| parent | 8f0eab43edc4f2a3e74cd30903c5e5718cc1186c (diff) | |
| download | poky-b5184d1487160d3d340371a5a38d1628a4a16297.tar.gz | |
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>
Diffstat (limited to 'meta/lib')
| -rw-r--r-- | meta/lib/oe/license.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/lib/oe/license.py b/meta/lib/oe/license.py index c1ae103b54..6ff7688d22 100644 --- a/meta/lib/oe/license.py +++ b/meta/lib/oe/license.py | |||
| @@ -7,6 +7,7 @@ | |||
| 7 | 7 | ||
| 8 | import ast | 8 | import ast |
| 9 | import re | 9 | import re |
| 10 | import oe.qa | ||
| 10 | from fnmatch import fnmatchcase as fnmatch | 11 | from fnmatch import fnmatchcase as fnmatch |
| 11 | 12 | ||
| 12 | def license_ok(license, dont_want_licenses): | 13 | def license_ok(license, dont_want_licenses): |
