convert-variable-renames: Fix output string

(From OE-Core rev: a8d6882144e76f384022fe7d2b4ee13ad876317a)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Saul Wold 2022-03-02 16:42:32 -08:00 committed by Richard Purdie
parent 967ff0e2af
commit 1507286c7d

View File

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