From: Simon Glass <sjg@chromium.org>
Date: Wed, 17 Jul 2024 15:56:53 +0000 (+0100)
Subject: qconfig: Correct format string in do_imply_config()
X-Git-Tag: v2025.01-rc5-pxa1908~364^2~22
X-Git-Url: http://git.dujemihanovic.xyz/img/%7B%7B%20%28.OutputFormats.Get?a=commitdiff_plain;h=0e03fb1848f4685c8748ce7a63e5a9ff22d062c6;p=u-boot.git

qconfig: Correct format string in do_imply_config()

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

diff --git a/tools/qconfig.py b/tools/qconfig.py
index 4f1ad2703c..8a2384d895 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