Plus simple
darcs-hash:20071108192824-c992d-4a833d58e7deffa7fbd508b1869da72acf6dcd53.gz
This commit is contained in:
parent
543cf04f2c
commit
6e879cb20b
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ def candidats():
|
|||
todo_list1 = db.search('droits=*')['adherent']
|
||||
todo_list = []
|
||||
for adh in todo_list1:
|
||||
if ('Bureau' not in adh.droits()) and ('Nounou' not in adh.droits()) and ('Apprenti' not in adh.droits()) and (adh.droits()!=['MultiMachines']) and (config.ann_scol not in adh.paiement()):
|
||||
if adh.droitsGeles():
|
||||
todo_list.append(adh)
|
||||
todo_list.sort(lambda x, y: cmp((x.nom(), x.prenom()), (y.nom(), y.prenom())))
|
||||
return todo_list
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue