[PATCH] tools: Fix patman launcher script.

Maxim Cournoyer maxim.cournoyer at gmail.com
Fri Sep 1 07:05:12 CEST 2023


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 at gmail.com>
---

 tools/patman/pyproject.toml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/patman/pyproject.toml b/tools/patman/pyproject.toml
index c5dc7c7e27..a54211f706 100644
--- a/tools/patman/pyproject.toml
+++ b/tools/patman/pyproject.toml
@@ -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"]

base-commit: 0fe0395922d859730eb7ddfcff6ed8d3ac4b2937
-- 
2.41.0



More information about the U-Boot mailing list