Test paiement= dans la blackliste

Sinon, c'est open tout le mois de Septembre ...

darcs-hash:20080902085227-ddb99-42391ae3b2072f224b93b5bbc75c3561b120636b.gz
This commit is contained in:
Michel Blockelet 2008-09-02 10:52:27 +02:00
parent f26babddb2
commit eab9fd8d9d

View file

@ -931,7 +931,7 @@ class firewall_komaz(firewall_crans) :
blacklist = [] blacklist = []
# Recherche sur le champ ablacklist (clubs compris) # Recherche sur le champ ablacklist (clubs compris)
search = db.search('ablacklist=*&paiement=%s' % ann_scol) search = db.search('ablacklist=*&paiement=ok')
self.anim = anim("\tBlackliste adhérents+clubs", len(search['adherent']+search['club'])) self.anim = anim("\tBlackliste adhérents+clubs", len(search['adherent']+search['club']))
for entite in search['adherent'] + search['club']: for entite in search['adherent'] + search['club']:
self.anim.cycle() self.anim.cycle()
@ -944,7 +944,7 @@ class firewall_komaz(firewall_crans) :
print OK print OK
# Recherche sur le champ mblacklist # Recherche sur le champ mblacklist
search = db.search('mblacklist=*&paiement=%s' % ann_scol) search = db.search('mblacklist=*&paiement=ok')
self.anim = anim("\tBlackliste machines", len(search['machine'])) self.anim = anim("\tBlackliste machines", len(search['machine']))
for entite in search['machine']: for entite in search['machine']:
self.anim.cycle() self.anim.cycle()