Limit PTL rolls to foundation members
Missing the original I920e1bc134d1283e2019f4389a5491e9b746cca0 implementation, also filter the per-team PTL electorates to only include OpenStack Foundation Individual Members. The previous change did this correctly for the full (Technical Committee) electorate but failed to apply a similar conditional constraint to Project Team Lead electoral rolls. Change-Id: I03e90e5c512ee463cfcc49f147ff523806ae05c7 Story: #2001094 Task: #4877
This commit is contained in:
parent
6c4c2f6965
commit
bf8e2b9ad0
@ -683,8 +683,9 @@ def main(argv=sys.argv):
|
||||
for field in ('count', 'newest', 'oldest'):
|
||||
output[owner][field] = projects[project][owner][field]
|
||||
|
||||
# Append preferred addresses to the PTL electoral rolls
|
||||
electorate.append(owners[owner]['preferred'] + '\n')
|
||||
# Append preferred member addresses to the PTL electoral rolls
|
||||
if 'member' in owners[owner]:
|
||||
electorate.append(owners[owner]['preferred'] + '\n')
|
||||
|
||||
# Write out a team-specific YAML file
|
||||
fd = open(os.path.join(outdir, '%s.yaml' % normalized_project), 'w')
|
||||
|
Loading…
Reference in New Issue
Block a user