honor the --deliverable argument

If --deliverable is specified, only show details about that deliverable.

Change-Id: Ic10a01cd9708ae709016eecdcd4e17f594bfca32
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2017-01-23 14:30:37 -05:00
parent 8ac8eaef04
commit df0975e12a

View File

@ -126,6 +126,9 @@ def main():
for entry in all_deliv.get_deliverables(args.team, series):
deliv = deliverable.Deliverable(*entry)
if args.deliverable and deliv.name != args.deliverable:
continue
if model and deliv.model != model:
continue
if args.cycle_based and not deliv.is_cycle_based: