mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-14 00:47:26 +00:00
ae94c3d4ee
It isn't clear why we need to have two different paths for closing down
the pipe. Unify them and use the Python to avoid this warning:
subprocess.py:1127: ResourceWarning: subprocess 83531 is still running
Note that this code appears to originally have come from [1] and was
committed into the ChromeOS chromiumos/platform/crosutils repo in the
bin/cros_image_to_target.py file. The addition of the extra code path
came later, so that is chosen for the fixes tag.
[1] https://codereview.chromium.org/3391008
Signed-off-by: Simon Glass <sjg@chromium.org>
Fixes:
|
||
---|---|---|
.. | ||
__init__.py | ||
__main__.py | ||
command.py | ||
cros_subprocess.py | ||
LICENSE | ||
pyproject.toml | ||
README.rst | ||
terminal.py | ||
test_util.py | ||
tools.py | ||
tout.py | ||
u_boot_pylib |
.. SPDX-License-Identifier: GPL-2.0+ # U-Boot Python Library ===================== This is a Python library used by various U-Boot tools, including patman, buildman and binman. The module can be installed with pip:: pip install u_boot_pylib or via setup.py:: ./setup.py install [--user]