All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] codeparser: add missing 'import os'
@ 2023-10-20 18:44 chris.laplante
  2023-10-20 18:44 ` [PATCH 2/3] codeparser/utils: clean up more deprecated AST usages chris.laplante
  2023-10-20 18:44 ` [PATCH 3/3] codegen: cleanup " chris.laplante
  0 siblings, 2 replies; 5+ messages in thread
From: chris.laplante @ 2023-10-20 18:44 UTC (permalink / raw)
  To: bitbake-devel; +Cc: Chris Laplante

From: Chris Laplante <chris.laplante@agilent.com>

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
---
 lib/bb/codeparser.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/bb/codeparser.py b/lib/bb/codeparser.py
index cb068844bb..cd39409434 100644
--- a/lib/bb/codeparser.py
+++ b/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:
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-10-23 15:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-20 18:44 [PATCH 1/3] codeparser: add missing 'import os' chris.laplante
2023-10-20 18:44 ` [PATCH 2/3] codeparser/utils: clean up more deprecated AST usages chris.laplante
2023-10-20 23:29   ` [bitbake-devel] " Alexandre Belloni
2023-10-23 15:02     ` chris.laplante
2023-10-20 18:44 ` [PATCH 3/3] codegen: cleanup " chris.laplante

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.