commit | def31edb91e8b295acd6d082df3705aafdfc84e3 | [log] [tgz] |
---|---|---|
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | Mon Dec 19 17:32:41 2022 -0500 |
committer | Simon Glass <sjg@chromium.org> | Thu Jan 05 19:21:57 2023 -0700 |
tree | 41a697cf8ddeed3a09ab08688301f0bc0caf1a80 | |
parent | 2f3abd6532f4de3b8f322f5fa45a7f8a12be6936 [diff] |
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>