]> git.ipfire.org Git - thirdparty/u-boot.git/commit
patman: Correct some pylint and asyncio issues
authorSimon Glass <sjg@chromium.org>
Thu, 8 May 2025 03:36:20 +0000 (05:36 +0200)
committerSimon Glass <sjg@chromium.org>
Tue, 27 May 2025 09:07:42 +0000 (10:07 +0100)
commita52e80aee7cca7437869fd9cc74fd491d4e94442
tree6e823d2c55a1aa8fc6d1b337c166e6d66281d5fe
parent8465b44cb517571cbf3c2ffb552d5c8c93f0e885
patman: Correct some pylint and asyncio issues

Correct some pylint warnings in this file. Make use of the existing
asyncio event loop, instead of creating a new one, since this also
destroys it afterwards, making it unavailable for tests which want to
share an event loop. Use tools.write_file() to avoid a warning about
encoding.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/patman/func_test.py