From 22c079763686c7e65b973f992d393781b7d7dbba Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Thu, 1 Mar 2018 16:16:32 -0500 Subject: [PATCH] fix list-deliverables for changes in get_deliverables() Now that get_deliverables() returns Deliverable objects instead of tuples we don't have to turn the tuples into objects. Change-Id: I83c6da75f6186cf7001baa8e162ad6d5714cc3e7 Signed-off-by: Doug Hellmann --- openstack_releases/cmds/list_deliverables.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/openstack_releases/cmds/list_deliverables.py b/openstack_releases/cmds/list_deliverables.py index ee72423d41..e80f380c30 100644 --- a/openstack_releases/cmds/list_deliverables.py +++ b/openstack_releases/cmds/list_deliverables.py @@ -172,10 +172,7 @@ def main(): root_dir=args.deliverables_dir, collapse_history=False, ) - deliv_iter = [ - deliverable.Deliverable(*entry) - for entry in all_deliv.get_deliverables(args.team, series) - ] + deliv_iter = list(all_deliv.get_deliverables(args.team, series)) if args.group_key: deliv_iter = sorted(deliv_iter, key=operator.attrgetter(args.group_key))