[PATCH 05/24] qconfig: Correct format string in do_imply_config()

Simon Glass sjg at chromium.org
Wed Jul 17 17:56:53 CEST 2024


One of the strings was converted incorrectly. Fix it.

Signed-off-by: Simon Glass <sjg at chromium.org>
Fixes: 1bd43060b3e ("moveconfig: Use f strings where possible")
---

 tools/qconfig.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/qconfig.py b/tools/qconfig.py
index 4f1ad2703c7..8a2384d895b 100755
--- a/tools/qconfig.py
+++ b/tools/qconfig.py
@@ -1038,8 +1038,8 @@ def do_imply_config(config_list, add_imply, imply_flags, skip_added,
                             add_list[fname].append(linenum)
 
             if show and kconfig_info != 'skip':
-                print(f'{num_common:5d} : '
-                      f'{iconfig.ljust(30):-30s}{kconfig_info:-25s} {missing_str}')
+                print(f'{num_common:5} : '
+                      f'{iconfig.ljust(30)}{kconfig_info.ljust(25)} {missing_str}')
 
         # Having collected a list of things to add, now we add them. We process
         # each file from the largest line number to the smallest so that
-- 
2.34.1



More information about the U-Boot mailing list