handle unreleased deliverables in verbose mode

If we pass None to .format() it throws an error, so if there is no
release pass '' instead.

Change-Id: I7baff165935833902a49e1ea470cbb7068daeb2c
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2017-07-20 14:04:34 -04:00
parent 8de98523ed
commit 8b3abc8b1d

View File

@ -217,7 +217,7 @@ def main():
elif args.verbose:
print(verbose_template.format(
name=deliv.name,
latest_release=deliv.latest_release,
latest_release=deliv.latest_release or '',
team=deliv.team,
type=deliv.type,
model=deliv.model,