]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 c5dc7c7e276042567d3fd91034ae7b2a7008a0d0..a54211f7069d78ea3a198ff59c96290f95712945 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"]