fix discover_branch_points 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: Iaf13cde694692bfcee52349ec14dc7e15b6afd78
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2018-03-01 16:13:52 -05:00
parent 951c6639fd
commit 7acb01f638

View File

@ -149,8 +149,7 @@ def main():
root_dir=args.deliverables_dir, root_dir=args.deliverables_dir,
collapse_history=False, collapse_history=False,
) )
for entry in all_deliv.get_deliverables(None, args.series): for deliv in all_deliv.get_deliverables(None, args.series):
deliv = deliverable.Deliverable(*entry)
if deliv.name not in args.deliverable: if deliv.name not in args.deliverable:
continue continue
if deliv.get_branch_location(branch_name) is not None: if deliv.get_branch_location(branch_name) is not None: