avoid overriding local variable name in team rendering

Change-Id: I568c25416db9926f2bbe77666f4eddf56633338e
This commit is contained in:
Doug Hellmann 2016-01-13 20:02:22 +00:00
parent f402014be2
commit 9eb7884509

View File

@ -62,8 +62,8 @@ def _team_to_rst(name, info):
yield ''
deliverables = info.get('deliverables', [])
if deliverables:
for name, deliverable in deliverables.items():
title = '- %s' % name
for repo_name, deliverable in deliverables.items():
title = '- %s' % repo_name
repos = deliverable.get('repos', [])
if repos:
repolist = " ("
@ -81,7 +81,7 @@ def _team_to_rst(name, info):
yield ''
yield 'Extra ATCs'
yield '-----------'
yield '.. extraatcstable:: '
yield '.. extraatcstable::'
yield ' :project: %s' % name
yield ''