Prepare Newton election

Change-Id: I848039ab206c270f5dfa07e534900393467e0a47
This commit is contained in:
Tristan Cacqueray 2016-03-03 16:20:05 -05:00
parent e7f05ce2c4
commit 7b3f1e73ef
57 changed files with 7 additions and 3 deletions

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

@ -66,8 +66,8 @@ def render_list(list_type, candidates_list):
def build_lists(app):
# TODO: make mitaka a parameter
election = 'mitaka'
# TODO: make newton a parameter
election = 'newton'
candidates_list = build_candidates_list(election)
render_list("ptl", candidates_list)
render_list("tc", candidates_list)

View File

@ -4,6 +4,8 @@
.. include:: ./candidates/events.rst
See PTL_details_ and TC_details_.
Below is the official list of candidates for the current round.
.. include:: ./candidates/ptl.rst
@ -21,3 +23,5 @@ Election Officials
election process.
.. _Election_Officiating_Guidelines: https://wiki.openstack.org/wiki/Election_Officiating_Guidelines
.. _PTL_details: https://wiki.openstack.org/wiki/PTL_Elections_March_2016
.. _TC_details: https://wiki.openstack.org/wiki/TC_Elections_April_2016

View File

@ -11,7 +11,7 @@ def main(argv):
if len(argv) != 2 or argv[1] not in ("PTL", "TC"):
print "usage: %s PTL|TC" % argv[0]
return
candidates_list = build_candidates_list("mitaka")
candidates_list = build_candidates_list("newton")
if argv[1] == "PTL":
candidates_list['projects'].remove('TC')