From c4205d2455c4089d42de3750c9d495bb20051abb Mon Sep 17 00:00:00 2001 From: Chris Laplante Date: Fri, 20 Oct 2023 14:44:57 -0400 Subject: bitbake: codeparser: add missing 'import os' (Bitbake rev: 302969885d37a76edec3aa79181e98f8d7e28021) Signed-off-by: Chris Laplante Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- bitbake/lib/bb/codeparser.py | 1 + 1 file changed, 1 insertion(+) (limited to 'bitbake/lib') diff --git a/bitbake/lib/bb/codeparser.py b/bitbake/lib/bb/codeparser.py index cb068844bb..cd39409434 100644 --- a/bitbake/lib/bb/codeparser.py +++ b/bitbake/lib/bb/codeparser.py @@ -62,6 +62,7 @@ def check_indent(codestr): modulecode_deps = {} def add_module_functions(fn, functions, namespace): + import os fstat = os.stat(fn) fixedhash = fn + ":" + str(fstat.st_size) + ":" + str(fstat.st_mtime) for f in functions: -- cgit v1.2.3-54-g00ecf