fix verify_branches_and_late_releases 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: I26066c0dc891b0a226097154b0e2e33293d09e44
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2018-03-01 16:14:51 -05:00
parent 7acb01f638
commit 299c91ff86
1 changed files with 1 additions and 2 deletions

View File

@ -119,8 +119,7 @@ def main():
root_dir=args.deliverables_dir,
collapse_history=False,
)
for entry in all_deliv.get_deliverables(args.team, series):
deliv = deliverable.Deliverable(*entry)
for deliv in all_deliv.get_deliverables(args.team, series):
branch_loc = deliv.get_branch_location(branch)
if branch_loc is None:
verbose('No stable branch for {}'.format(deliv.name))