correct looping bug in make-dashboard

Use the variable for the current loop, not one defined in an earlier
list comprehension.

Change-Id: I086df407d7350ee979b11097c83d0dff8368659f
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2017-01-16 16:16:38 -05:00
parent b97b07225a
commit 24561f146b

View File

@ -78,7 +78,7 @@ def main():
for deliv in sorted(interesting_deliverables,
key=lambda x: (x.team, x.name)):
team = teams[d.team.lower()]
team = teams[deliv.team.lower()]
writer.writerow(
(deliv.team.lower(),
deliv.type,