'result' is a list of RecipeUpstream objects... drop legacy 'recipe, ru' syntax. In the current code base, result.append((recipe, ru)) was appending a tuple of the last value of 'recipe' (in 'for recipe_qry:' under 'for maintplan in maintplans:') and the RecipeUpstream object.
Fixes: AttributeError: 'tuple' object has no attribute 'history' Signed-off-by: Tim Orling <tim.orl...@konsulko.com> --- rrs/tools/rrs_upstream_history.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rrs/tools/rrs_upstream_history.py b/rrs/tools/rrs_upstream_history.py index bf32c5d..73b6d91 100755 --- a/rrs/tools/rrs_upstream_history.py +++ b/rrs/tools/rrs_upstream_history.py @@ -143,7 +143,7 @@ def get_upstream_info(layerbranch, recipe_data, result): ru.no_update_reason = recipe_data.getVar('RECIPE_NO_UPDATE_REASON', True) or '' - result.append((recipe, ru)) + result.append(ru) if __name__=="__main__": parser = optparse.OptionParser(usage = """%prog [options]""") -- 2.34.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#62159): https://lists.yoctoproject.org/g/yocto/message/62159 Mute This Topic: https://lists.yoctoproject.org/mt/103744908/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-