Skip to contentSkip to conversation

tools: Fix patman launcher script.

PATCH In review Maxim Cournoyer 2 participants 3 messages Sep 1, 2023 – Sep 23, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools: Fix patman launcher script.

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'"

---

 tools/patman/pyproject.toml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/patman/pyproject.toml +1 -1
index c5dc7c7e27..a54211f706 100644
@@ -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

Signature · 1 line
2.41.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Maxim Cournoyer

There is no "run_patman" procedure in patman's __main__.py file, which would cause the following error at execution:

Quoted 8 lines

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

---

 tools/patman/pyproject.toml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by
#2 lore raw
Quoted 4 lines · Maxim Cournoyer

There is no "run_patman" procedure in patman's __main__.py file, which would cause the following error at execution:

Quoted 8 lines

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

---

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

Applied to u-boot-dm, thanks!