commit | 579916beb133ad74377964643c65c57fb3174cc6 | [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 | 648d8186dd7f9c444fb07f355090d275dcdd4de4 [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>