Save the candidates email address

Currently we don't need to do this thing but it's the only piece of data
missing that prevents us from scripting an updte to projects.yaml in the
openstack/governance repo

Change-Id: Ia346cef333158f4a6f2c57e519d4ad58045e3a1a
This commit is contained in:
Tony Breeds 2016-09-21 10:31:21 +10:00
parent acdf8db30e
commit 7bb5f567ec

View File

@ -49,6 +49,7 @@ def build_candidates_list(election=utils.SERIES_NAME):
(utils.CGIT_URL, utils.ELECTION_REPO,
urllib.quote_plus(filepath, safe='/'))),
'ircname': candidate_file[:-4].replace('`', r'\`'),
'email': utils.get_email(filepath),
'fullname': utils.get_fullname(filepath)
})