]> code.ossystems Code Review - openembedded-core.git/commit
python3: Improve logging, syntax and update deprecated modules to create_manifest
authorAlejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Sat, 17 Apr 2021 00:48:34 +0000 (18:48 -0600)
committerAnuj Mittal <anuj.mittal@intel.com>
Fri, 23 Apr 2021 08:14:22 +0000 (16:14 +0800)
commit003d73d74791e5d7dcdeb4f29fc7b05e35b345ea
treefa84de41417432316243f1a603bbc3a2293b3a6e
parent8c1473189f4439d2462130b3cface95dc251fe24
python3: Improve logging, syntax and update deprecated modules to create_manifest

The imp module has een deprecated by upstream python, drop its usage
  (imp.get_tag) in favor of sys.implementation.cache_tag.

Avoid incorrectly getting dependencies for running script and
multiprocessing module.

Improve logging behavior of the create_manifest task:
- Use indentation.
- Logs on temp directory.
- Use a proper debug flag.
- Standarize syntax.

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a3ac339f5b8549a050308ba94c4ef9093f10e303)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/recipes-devtools/python/python3/create_manifest3.py
meta/recipes-devtools/python/python3/get_module_deps3.py