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 <doug@doughellmann.com>
This commit is contained in:
parent
299c91ff86
commit
22c0797636
@ -172,10 +172,7 @@ def main():
|
|||||||
root_dir=args.deliverables_dir,
|
root_dir=args.deliverables_dir,
|
||||||
collapse_history=False,
|
collapse_history=False,
|
||||||
)
|
)
|
||||||
deliv_iter = [
|
deliv_iter = list(all_deliv.get_deliverables(args.team, series))
|
||||||
deliverable.Deliverable(*entry)
|
|
||||||
for entry in all_deliv.get_deliverables(args.team, series)
|
|
||||||
]
|
|
||||||
if args.group_key:
|
if args.group_key:
|
||||||
deliv_iter = sorted(deliv_iter,
|
deliv_iter = sorted(deliv_iter,
|
||||||
key=operator.attrgetter(args.group_key))
|
key=operator.attrgetter(args.group_key))
|
||||||
|
Loading…
Reference in New Issue
Block a user