Commit graph

3 commits

Author SHA1 Message Date
Tobias Mueller
e9c889e58b get_renewees: added __str__ and __repr__ to have nice output on screen 2012-05-03 14:40:57 +00:00
Tobias Mueller
9b9935dbd2 get_renewees: Be compatible with older template by defining variables
Otherwise, you could end up having a KeyError while parsing a template.
And it's not a problem having too many keys defined in the dict.
2011-08-03 12:35:00 +02:00
Tobias Mueller
96148bbf1f Added a script that returns the members that need renewal as well as ballots
I intend to run that script via a cronjob to inform the people of their need to renew.

The second usecase is retrieving the ballots that were generated. Now, sending mails with the voting instructions can be done like this:
./get_renewees.py -s -l debug -t 16  voting-instructions.txt
2011-05-25 17:02:32 +02:00