]> git.baikalelectronics.ru Git - uboot.git/commit
patman: rename main script to __main__.py
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>
Mon, 19 Dec 2022 22:32:41 +0000 (17:32 -0500)
committerSimon Glass <sjg@chromium.org>
Fri, 6 Jan 2023 02:21:57 +0000 (19:21 -0700)
commita3614833530c19dcaa39011b834cfca1f6b60972
tree41a697cf8ddeed3a09ab08688301f0bc0caf1a80
parentbef8df75e4ef184dda6a938e1e6f57bfa61b2db7
patman: rename main script to __main__.py

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>
Fix up main.py in __init__.py:
Signed-off-by: Simon Glass <sjg@chromium.org>
tools/patman/__init__.py
tools/patman/__main__.py [new file with mode: 0755]
tools/patman/main.py [deleted file]
tools/patman/patman