diff mbox series

[v2,05/14] buildman: Rename the main module

Message ID 20200417180829.v2.5.I480a184befa352a29ae626c5d650fd3b5c24367f@changeid
State Accepted
Commit 7ec3dc57b33e2fa5f1da1ade259937f5631532c0
Delegated to: Simon Glass
Headers show
Series tools: patman: Convert Python tools to use absolute imports | expand

Commit Message

Simon Glass April 18, 2020, 12:08 a.m. UTC
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@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%)

Comments

Simon Glass April 27, 2020, 3:06 a.m. UTC | #1
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@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 mbox series

Patch

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