From: Saul Wold Date: Thu, 3 Mar 2022 00:42:32 +0000 (-0800) Subject: convert-variable-renames: Fix output string X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=a8d6882144e76f384022fe7d2b4ee13ad876317a;p=openembedded-core.git convert-variable-renames: Fix output string Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- 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))