]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
license_image.bbclass: close package.manifest file
authorMartin Jansa <Martin.Jansa@gmail.com>
Thu, 7 Apr 2022 14:31:50 +0000 (16:31 +0200)
committerAnuj Mittal <anuj.mittal@intel.com>
Tue, 19 Apr 2022 14:22:49 +0000 (22:22 +0800)
commit4c556b4fd07a3ce9128019b51e5623e8eeeb7400
tree717360821f2296827661e813dd60c7dedfb88683
parent7c3f8ffdbed56eb2791745c5e6a562b5431040ca
license_image.bbclass: close package.manifest file

* fixes:
  NOTE: Executing write_package_manifest ...
  DEBUG: Executing python function write_package_manifest
  /OE/build/oe-core/openembedded-core/meta/classes/license_image.bbclass:23: ResourceWarning: unclosed file <_io.TextIOWrapper name='/OE/build/oe-core/tmp-glibc/deploy/licenses/core-image-minimal-qemux86-64/package.manifest' mode='w+' encoding='UTF-8'>
    'w+').write(output)
  ResourceWarning: Enable tracemalloc to get the object allocation traceback
  DEBUG: Python function write_package_manifest finished

[YOCTO #14772]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b3114d5d438b7a63a276b4e825b62f3b1ebceed6)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/classes/license_image.bbclass