summaryrefslogtreecommitdiffstats
path: root/scripts/contrib
diff options
context:
space:
mode:
authorSaul Wold <Saul.Wold@windriver.com>2022-03-02 16:42:32 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-03-04 17:14:15 +0000
commit1507286c7dfedc732bbf3a58112d42ef9a171ce4 (patch)
tree40e07cc740918f5df6976226aebb1d862ea827af /scripts/contrib
parent967ff0e2af0be0832ab444e388ec04f826c81738 (diff)
downloadpoky-1507286c7dfedc732bbf3a58112d42ef9a171ce4.tar.gz
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>
Diffstat (limited to 'scripts/contrib')
-rwxr-xr-xscripts/contrib/convert-variable-renames.py2
1 files changed, 1 insertions, 1 deletions
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):
79 # Find removed names 79 # Find removed names
80 for removed_name in removed_list: 80 for removed_name in removed_list:
81 if removed_name in line: 81 if removed_name in line:
82 print("%s needs further work at line %s because has been deprecated" % (fn, lineno, remove_name)) 82 print("%s needs further work at line %s because %s has been deprecated" % (fn, lineno, removed_name))
83 for check_word in context_check_list: 83 for check_word in context_check_list:
84 if re.search(check_word, line, re.IGNORECASE): 84 if re.search(check_word, line, re.IGNORECASE):
85 print("%s needs further work at line %s since it contains %s"% (fn, lineno, check_word)) 85 print("%s needs further work at line %s since it contains %s"% (fn, lineno, check_word))