
21 Dec
2022
21 Dec
'22
1:28 a.m.
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!