Simplify tc_nominations_kickoff

voting_{start_end} are aliases for election_{start,end} and
end_nomination{,s} are the same thing so simplify the args the print
function.

Change-Id: I63ed2d5d75725efa775d443362bf8677947caf06
This commit is contained in:
Tony Breeds 2018-08-29 16:32:41 +10:00
parent 3fa9fb1f03
commit 1ecc896cba
1 changed files with 2 additions and 5 deletions

View File

@ -251,7 +251,7 @@ Candidates for the Technical Committee Positions: Any Foundation
individual member can propose their candidacy for an available,
directly-elected TC seat.
The election will be held from %(voting_start)s through to %(voting_end)s. The electorate
The election will be held from %(election_start)s through to %(election_end)s. The electorate
are the Foundation individual members that are also committers
for one of the official teams[3] over the %(time_frame)s timeframe (%(start_release)s to
%(end_release)s, as well as the extra-ATCs who are acknowledged by the TC[4].
@ -282,14 +282,11 @@ Thank you,
start_release, _, end_release = conf['timeframe']['name'].partition('-')
fmt_args = dict(
seats=conf['tc_seats'],
end_nominations=utils.get_event('TC Nominations')['end_str'],
voting_start=utils.get_event('TC Elections')['start_str'],
voting_end=utils.get_event('TC Elections')['end_str'],
time_frame=time_frame,
start_release=start_release,
end_release=end_release,
start_nominations=utils.get_event('TC Nominations')['start_str'],
end_nomination=utils.get_event('TC Nominations')['end_str'],
end_nominations=utils.get_event('TC Nominations')['end_str'],
campaign_start=utils.get_event('TC Campaigning')['start_str'],
campaign_end=utils.get_event('TC Campaigning')['end_str'],
election_start=utils.get_event('TC Elections')['start_str'],