convert-variable-renames: Fix output string

Message ID 20220303004232.519421-1-saul.wold@windriver.com
State Accepted, archived
Commit a8d6882144e76f384022fe7d2b4ee13ad876317a
Headers show
Series convert-variable-renames: Fix output string | expand

Commit Message

Saul Wold March 3, 2022, 12:42 a.m. UTC
Signed-off-by: Saul Wold <saul.wold@windriver.com>
---
 scripts/contrib/convert-variable-renames.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/scripts/contrib/convert-variable-renames.py b/scripts/contrib/convert-variable-renames.py
index ed012610db..856c001e11 100755
--- a/scripts/contrib/convert-variable-renames.py
+++ b/scripts/contrib/convert-variable-renames.py
@@ -79,7 +79,7 @@  def processfile(fn):
                     # Find removed names
                     for removed_name in removed_list:
                         if removed_name in line:
-                            print("%s needs further work at line %s because has been deprecated" % (fn, lineno, remove_name))
+                            print("%s needs further work at line %s because %s has been deprecated" % (fn, lineno, removed_name))
                     for check_word in context_check_list:
                         if re.search(check_word, line, re.IGNORECASE):
                             print("%s needs further work at line %s since it contains %s"% (fn, lineno, check_word))