tools: Fix patman launcher script.
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>
Fri, 1 Sep 2023 05:05:12 +0000 (01:05 -0400)
committerSimon Glass <sjg@chromium.org>
Sat, 23 Sep 2023 15:00:37 +0000 (09:00 -0600)
There is no "run_patman" procedure in patman's __main__.py file, which
would cause the following error at execution:

  "AttributeError: module 'patman.__main__' has no attribute 'run_patman'"

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
tools/patman/pyproject.toml

index c5dc7c7..a54211f 100644 (file)
@@ -23,7 +23,7 @@ classifiers = [
 "Bug Tracker" = "https://source.denx.de/groups/u-boot/-/issues"
 
 [project.scripts]
-patman = "patman.__main__:run_patman"
+patman = "patman.__main__"
 
 [tool.setuptools.package-data]
 patman = ["*.rst"]