| Message ID | 20261121053846.3614417-2-ragaprasanth@gmail.com |
|---|---|
| State | New |
| Headers | show |
| Series | [1/3] recipeutils: fix NameError for recipes with unreliable upstream checks | expand |
diff --git a/scripts/lib/resulttool/resultutils.py b/scripts/lib/resulttool/resultutils.py index 53980f8007..13321a75f0 100644 --- a/scripts/lib/resulttool/resultutils.py +++ b/scripts/lib/resulttool/resultutils.py @@ -119,7 +119,7 @@ def filter_resultsdata(results, resultid): newresults = {} for r in results: for i in results[r]: - if i == resultsid: + if i == resultid: newresults[r] = {} newresults[r][i] = results[r][i] return newresults
filter_resultsdata() takes resultid but compares against resultsid, so resulttool regression with --base-result-id or --target-result-id fails with: NameError: name 'resultsid' is not defined Use the parameter name. AI-Generated: Uses Claude Signed-off-by: Prasanth R <prasanth.r@lineo.co.jp> --- scripts/lib/resulttool/resultutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)