[PATCH v3 4/8] patman: rename main script to __main__.py

Simon Glass sjg at chromium.org
Wed Dec 21 01:28:42 CET 2022


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!


More information about the U-Boot mailing list