Message ID | 20200417180829.v2.5.I480a184befa352a29ae626c5d650fd3b5c24367f@changeid |
---|---|
State | Accepted |
Commit | 7ec3dc57b33e2fa5f1da1ade259937f5631532c0 |
Headers | show |
Series | tools: patman: Convert Python tools to use absolute imports | expand |
Python does not like the module name being the same as the module
directory. To allow buildman modules to be used from other tools, rename
it.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
Changes in v2: None
tools/buildman/buildman | 2 +-
tools/buildman/{buildman.py => main.py} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
rename tools/buildman/{buildman.py => main.py} (100%)
Applied to u-boot-dm, thanks!
diff --git a/tools/buildman/buildman b/tools/buildman/buildman index e4fba2d4b0..11a5d8e18a 120000 --- a/tools/buildman/buildman +++ b/tools/buildman/buildman @@ -1 +1 @@ -buildman.py \ No newline at end of file +main.py \ No newline at end of file diff --git a/tools/buildman/buildman.py b/tools/buildman/main.py similarity index 100% rename from tools/buildman/buildman.py rename to tools/buildman/main.py
Python does not like the module name being the same as the module directory. To allow buildman modules to be used from other tools, rename it. Signed-off-by: Simon Glass <sjg at chromium.org> --- Changes in v2: None tools/buildman/buildman | 2 +- tools/buildman/{buildman.py => main.py} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename tools/buildman/{buildman.py => main.py} (100%)