]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
qconfig: Correct format string in do_imply_config()
authorSimon Glass <sjg@chromium.org>
Wed, 17 Jul 2024 15:56:53 +0000 (16:56 +0100)
committerSimon Glass <sjg@chromium.org>
Fri, 26 Jul 2024 14:01:06 +0000 (08:01 -0600)
One of the strings was converted incorrectly. Fix it.

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

index 4f1ad2703c795548583ce7b265f63f7271aafab7..8a2384d895b88bf8c683417beee7ca3afba82240 100755 (executable)
@@ -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