
21 Dec
2022
21 Dec
'22
1:30 a.m.
Hi Maxim,
On Tue, 20 Dec 2022 at 17:28, Simon Glass sjg@chromium.org wrote:
This allows running the package as a Python module, like e.g.:
$ python -m patman
It also prevents Pytest from attempting to parse main.py, which would cause errors.
Reviewed-by: Simon Glass sjg@chromium.org Signed-off-by: Maxim Cournoyer maxim.cournoyer@savoirfairelinux.com
(no changes since v1)
tools/patman/{main.py => __main__.py} | 0 tools/patman/patman | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename tools/patman/{main.py => __main__.py} (100%)
Applied to u-boot-dm/next, thanks!
I did a little fix-up on this one to rename the file in __init__.py
Regards, Simon