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:
@@ -119,8 +119,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(args.team, series):
|
for deliv in all_deliv.get_deliverables(args.team, series):
|
||||||
deliv = deliverable.Deliverable(*entry)
|
|
||||||
branch_loc = deliv.get_branch_location(branch)
|
branch_loc = deliv.get_branch_location(branch)
|
||||||
if branch_loc is None:
|
if branch_loc is None:
|
||||||
verbose('No stable branch for {}'.format(deliv.name))
|
verbose('No stable branch for {}'.format(deliv.name))
|
||||||
|
|||||||
Reference in New Issue
Block a user