Add last_release to the tc_fmt_args dict()

In tc_nominations_kickoff() we need to refer to the most recent release
which we did correctly in Icf1274ebc957e8b74fa35c0f0c791ae22f079b16 but
when we merged all the fmt args in
I8b439c76fa1d14624c0119ab05b1561c6cf424c9 we didn't noticed that
'future_release' is used differently in tc_nominations_kickoff().

This last introduces a new 'last_release' key that differs from
end_release only in case :(

Change-Id: I02f1e6a9cfa1a6e327f6d463723ec67bf0f873e5
This commit is contained in:
Tony Breeds 2018-09-05 10:39:42 +10:00
parent cdca970e09
commit 6eff957438
1 changed files with 2 additions and 1 deletions

View File

@ -17,6 +17,7 @@ tc_fmt_args = dict(
time_frame=time_frame,
start_release=start_release,
end_release=end_release,
last_release=end_release.lower(),
start_nominations=utils.get_event('TC Nominations')['start_str'],
end_nominations=utils.get_event('TC Nominations')['end_str'],
campaign_start=utils.get_event('TC Campaigning')['start_str'],
@ -294,7 +295,7 @@ Thank you,
[1] http://governance.openstack.org/election/#how-to-submit-your-candidacy
[2] http://www.openstack.org/community/members/
[3] https://governance.openstack.org/tc/reference/projects/
[4] https://releases.openstack.org/%(release)s/schedule.html#p-extra-atcs
[4] https://releases.openstack.org/%(last_release)s/schedule.html#p-extra-atcs
[5] https://governance.openstack.org/election/
[6] http://governance.openstack.org/election/#election-officials""" # noqa