diff options
author | Saul Wold <Saul.Wold@windriver.com> | 2022-03-02 16:42:32 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-04 17:14:15 +0000 |
commit | 1507286c7dfedc732bbf3a58112d42ef9a171ce4 (patch) | |
tree | 40e07cc740918f5df6976226aebb1d862ea827af /scripts/contrib | |
parent | 967ff0e2af0be0832ab444e388ec04f826c81738 (diff) | |
download | poky-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-x | scripts/contrib/convert-variable-renames.py | 2 |
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)) |