]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 18 Apr 2021 10:35:57 +0000 (11:35 +0100)
commita3ac339f5b8549a050308ba94c4ef9093f10e303
tree24022e03730de74af695bdee7314636a9b1e3a97
parentb4a0d8799af0a3d1b685dd7200b545fdb2c79d64
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>
meta/recipes-devtools/python/python3/create_manifest3.py
meta/recipes-devtools/python/python3/get_module_deps3.py