fedora-vote newelection.py,1.3,1.4 voting.py,1.7,1.8

Toshio Ernie Kuratomi (toshio) fedora-extras-commits at redhat.com
Wed Jun 21 04:53:39 UTC 2006


Author: toshio

Update of /cvs/fedora/fedora-vote
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15990

Modified Files:
	newelection.py voting.py 
Log Message:
* newelection.py:
  - Set the actual start and end dates for the election.
  - Add Josh Boyer to the candidate list.
* voting.py: Put the candidates in alphabetical order by first name.



Index: newelection.py
===================================================================
RCS file: /cvs/fedora/fedora-vote/newelection.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- newelection.py	15 Jun 2006 14:21:12 -0000	1.3
+++ newelection.py	21 Jun 2006 04:53:36 -0000	1.4
@@ -15,13 +15,14 @@
 dbUser = 'electionsuser'
 
 electionName = 'FESCo 2006'
-start = '2006-06-08'
-end = '2006-06-20'
+start = '2006-06-22 00:00:00'
+end = '2006-07-02 23:59:59'
 seats = '13'
 
 votingGroups = ('cvsextras',)
 
 candidates = ('awjb',
+    'jwboyer',
     'spot',
     'rdieter',
     'kevin',


Index: voting.py
===================================================================
RCS file: /cvs/fedora/fedora-vote/voting.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- voting.py	15 Jun 2006 18:34:56 -0000	1.7
+++ voting.py	21 Jun 2006 04:53:36 -0000	1.8
@@ -112,6 +112,7 @@
                             candidate[0]
                 self.candidates[candidate[0]] = (candInfo['human_name'],
                         candInfo['email'], candInfo['ircnick'])
+            self.candidates.sort()
         return self.candidates
 
     def votes_to_allocate(self):




More information about the fedora-extras-commits mailing list