[PATCH v3 4/8] patman: rename main script to __main__.py
Simon Glass
sjg at chromium.org
Wed Dec 21 01:30:58 CET 2022
Hi Maxim,
On Tue, 20 Dec 2022 at 17:28, Simon Glass <sjg at 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 at chromium.org>
> Signed-off-by: Maxim Cournoyer <maxim.cournoyer at 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
More information about the U-Boot
mailing list