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
1 changed files with 1 additions and 2 deletions

View File

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