Skip to contentSkip to conversation

convert-variable-renames: Fix output string

PATCH New Saul Wold 1 participant 1 message Mar 3, 2022

lore
Share & tools
lore

Saul Wold

author
#0 lore raw

PATCH 1/1 convert-variable-renames: Fix output string

---
 scripts/contrib/convert-variable-renames.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/contrib/convert-variable-renames.py +1 -1
index ed012610db..856c001e11 100755
@@ -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))
Signature · 1 line
2.25.1