[PATCH v2 4/8] patman: rename main script to __main__.py
Simon Glass
sjg at chromium.org
Mon Dec 19 20:20:47 CET 2022
On Mon, 19 Dec 2022 at 07:53, Maxim Cournoyer <maxim.cournoyer at gmail.com> 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.
>
> 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%)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list