]> code.ossystems Code Review - openembedded-core.git/commitdiff
convert-variable-renames: Fix output string
authorSaul Wold <Saul.Wold@windriver.com>
Thu, 3 Mar 2022 00:42:32 +0000 (16:42 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 4 Mar 2022 17:13:10 +0000 (17:13 +0000)
Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/contrib/convert-variable-renames.py

index ed012610db0dee17a17c04bb375b13d3bbfce2d1..856c001e116562b04e2264584d7bd82c4b981fd4 100755 (executable)
@@ -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))